Board index » cppbuilder » Got Builder 3: Need some insight on compiling old OWL project

Got Builder 3: Need some insight on compiling old OWL project

OK, got Builder 3 in the mail.  Looks very very nice so far, but I
think it is going to be tough to compile my old OWL programs under
BCB3.  Does anyone have any insight?

[C++ Error] Incorrect project override option: -OM-
[C++ Error] Incorrect project override option: -OI-
[C++ Error] exbase.h(56): Type name expected
(followed by lots more in exbase.h)

 The line in exbase.h is:

class _WSYSCLASS_RTL TXBase : public xmsg {

I read something in the Readme about adding 'throw()' to xmsg
descendants.

The most frustrating thing is that I absolutely cannot change the
directories under options.  It has \bc5\include\owl as the first
directory under the include path.  Everytime I try to change it, it
just goes back to the way it was.

Thanks for any help,

-Michael
"You must master each stroke before you go on... otherwise everything you do will be so-so." - Teacher Hei.

Remove NOSPAM to get my address.

 

Re:Got Builder 3: Need some insight on compiling old OWL project


Damn ! This was supposed to be fixed. My solution was to manually edit
.bpr file outside of the ide. Remove any and all apearences of bc5. This
will get rid of exbase.h problem ( it's there because path is screwy )
Also, kill the incorrect options. And most important, make sure you have
-b- taken out of the CFLAGS1 macro.

HTH,
Alex

P.S. I have my OWL app built just fine under BCB3 after these changes

Quote
Michael Wade wrote:

> OK, got Builder 3 in the mail.  Looks very very nice so far, but I
> think it is going to be tough to compile my old OWL programs under
> BCB3.  Does anyone have any insight?

> [C++ Error] Incorrect project override option: -OM-
> [C++ Error] Incorrect project override option: -OI-
> [C++ Error] exbase.h(56): Type name expected
> (followed by lots more in exbase.h)

>  The line in exbase.h is:

> class _WSYSCLASS_RTL TXBase : public xmsg {

> I read something in the Readme about adding 'throw()' to xmsg
> descendants.

> The most frustrating thing is that I absolutely cannot change the
> directories under options.  It has \bc5\include\owl as the first
> directory under the include path.  Everytime I try to change it, it
> just goes back to the way it was.

> Thanks for any help,

> -Michael
> "You must master each stroke before you go on... otherwise everything you do will be so-so." - Teacher Hei.

> Remove NOSPAM to get my address.

Other Threads