Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

E2125 Compiler could not generate operator= ... suddenly appeared 3

Status
Not open for further replies.

biot023

Programmer
Nov 8, 2001
403
GB
Hallo - I have some code that has been running fine, then all of a sudden, I get this message:
[C++ Error] _algobase.h(145): E2125 Compiler could not generate operator= for class 'Tdm_column<string>'
I seem to be getting alot of mysteriously appearing errors, lately.
Does anyone have any ideas about this?
Cheers,
Douglas J Livesey.

Common sense is what tells you the world is flat.
 
It looks like the &quot;=&quot; operator is being overloaded in the algobase.h header but now it can't find the overload specs. Has something happened recently? Did you overwrite some files, re-install something? Maybe you need to you need to re-install BCB?


James P. Cottingham

When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity.
[tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.
 
Yeah - it could be a job for a reinstall. Like I say, I've been getting wierd errors for a while.
I reckon I'll try the project on another machine & see how it goes, then go from there.
Is there anything I should be particularly aware of during a reinstall?
Cheers man,
DJL

Common sense is what tells you the world is flat.
 
One full install later, and I'm still getting the error.
Man! I'm beginning to think BCB6 is a little flakey. It seems like every time I get a project any distance to completion, it starts throwing wierd, untraceable errors at me.
Is anyone else having similar difficulty?
I don't want to slate the product, cuz I like working with it - but it's stopped working with me!
DJL

Common sense is what tells you the world is flat.
 
Have you service packed BCB 6? BCB 6 is up to service pack 4. I guess Borland in trying to get closer to .Net and MS is also having to following MS and not get things right the first time [shocked].

Have you installed anything else? Are other programs acting strangely? Maybe it's time for a OS re-install. I'm just now starting to use BCB 6 so I'll watch it.

James P. Cottingham

When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity.
[tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.
 
I'm currently using BCB6 on an NT machine and on a WIN98 machine, and I've done all the updates.
I get the same (or similar) errors in the same places on both machines, so I don't think it's an OS problem - well, not any more than any other M$ OS problem - maybe I should be looking for a job developing for Linux!
I've had a series of errors that can be worked around at first, but just get wierder & more impossible to correct as they persist. I think almost every post from the last month or two that I've started has been similar - some of them I post on afterwards to say &quot;problem sorted&quot;, but then it will re-appear & I haven't got the heart to start all over again, so I don't update the post - bad behaviour, I know.
I'm certainly far from expert, but I can't help thinking these are bugs.
Some things to look out for:
Extension paths & include paths being lost.
When copying from one project to another, often the second project will still be directed to the first.
Bizarre page faults that can't be zapped.
Often, when you see these & others, you can copy & paste code into a new project & everything will work again... For a time. But they will crop up again & again & more destructively the closer to app. completion you get.
I could be doing something really wrong, but in all cases I think I've explored fairly exhaustively for errors & I don't seem to be getting anywhere.
I say blow M$ & .net - just gimme a compiler that'll do the job!
I hope I can sort this, though, cuz I don't want to give up on Borland/Inprise - we've been friends for a while, now.
Cheers,
DJL

Common sense is what tells you the world is flat.
 
I don't think Borland 6 works REALLY well with either of those horrible operating systems, but it shouldn't be doing that! Did you contact Borland?

Chris
 
Well, I've only just downloaded the Quality Central thing, so I'm going to have a play w/ that & see if I can't figure it out.
When you say that BCB6 doesn't work really well on either 98 or NT, what other OSs can you run it on?
I'd be VERY interested to know!
Cheers,
DJL

Common sense is what tells you the world is flat.
 
I would try 2000 or XP. Not sure about ME.

James P. Cottingham

When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity.
[tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.
 
Cheers, man - everything I've read about XP & 2000 (aside from ethical concerns) is what prompted me not to update to them. As I understood it, every version of WIN32 & NT that comes out becomes more & more embedded & less reliable.
As going back to 95 is not an option (at work), I just resisted attempts to upgrade, though obviously I still run the endless 'security' patches.
Sadly, I'm stuck with the NT machine, but there's possibilities for the 98 machine.
Am I being a little too conservative, here?
DJL

Common sense is what tells you the world is flat.
 
Oh don't believe everything you've heard about xp or 2000. 2000 is WAY more stable than 95 or ME and NT. XP is supposedly even more stable, but don't take my word on it because I have not used it much. But I can tell you I run BCB 6 on 2000, and almost never encounter OS problems. 2000 never just up and reboots or blue screens for me (maybe I'm lucky! :). Might be worth looking into.

Chris
 
I use Win2000 with BCB 4,5,&6 with out issues.
Win2000 is very stable, I would dump win9x/Me in a heartbeat.
I think you've been reading the wrong articles about these.
Have you done a clean reinstall of BCB or did you reinstall on top of the old?
Do you have code archives to before the error(s) popped up?
Have you saved the raw post processed code that the compiler itself actually gets and looked at it to see if there is some template/macro messing things up?
 
I've just totally zapped everything to do w/ BCB6 (including all directories) and reinstalled.
Hopefully this will improve things - I'm also looking into upgrading to 2000.
Cheers for all the input, & I'll keep y'all posted here as to progress.
Thanks again,
Douglas JL.

Common sense is what tells you the world is flat.
 
Howdy fellas,

As far as the OS issue goes, I can weigh in a little...

I am running BCB6 on XP and I have NEVER had an issue (other than being an idiot myself).

I have also run it on 2000, not problems there either.

I too have heard bad things about XP/2000 shortcomings, but have not personally found anything to substantiate those claims. I think they are probably exaggerated by angry MS haters. MS stuff may not be great, but it hasn't screwed me over yet...

onrdbanit
 
Supernat03 Win2000 has not blue screens 'cause this is not a DOS based OS like win 9x/Me



---LastCyborg---
 
Actually, I have gotten a blue screen twice in win 2k while working with video editing software. It reboots(because of settings under the control panel to make it immediately reboot). But only two times in the several years that I've been using it is not bad. :)

Ahh, I remember the days...couldn't get through a 2 hour period without rebooting win 95. *sigh*

So have you had any luck Biot?

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top