| View previous topic :: View next topic |
| Author |
Message |
Andrue Cope [TeamB] Guest
|
Posted: Tue Jan 17, 2006 1:26 pm Post subject: 'Incorrect project override option" |
|
|
I just tried to compile my BDS2006 project. It was compiling fine last
year but now on one particular file it chokes before starting with:
[C++ Error] E2075 Incorrect project override option:
-Hr"vcl.h"="vcl2.h"D:ISWDLIBsSrcDrv32LibSrcFSHFSPLUShfsp_btree_n
ode_handler.cpp
I've had a look at the project file but am none the wiser. Anyone care
to hazard a guess? I'm wondering about the space before the file path.
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
Simon Hooper Guest
|
Posted: Tue Jan 17, 2006 1:37 pm Post subject: Re: 'Incorrect project override option" |
|
|
I had the same error with a project converted from BCB6 to BCB2006. I
'resolved' the problem by recreating the project from scratch in BCB2006.
Check the list of paths don't contain invalid or duplicated paths.
Regards
Simon
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Tue Jan 17, 2006 1:37 pm Post subject: Re: 'Incorrect project override option" |
|
|
FYI:I haven't found another file it has problems with and there are
several other related source files in the same directory.
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
Andreas Hausladen Guest
|
Posted: Tue Jan 17, 2006 1:41 pm Post subject: Re: 'Incorrect project override option" |
|
|
Andrue Cope [TeamB] wrote:
| Quote: | Disregard this. It seems to be a bug in the compiler speed boost
package for BDS2006.
|
You mean bcc32pch ?
--
Regards,
Andreas Hausladen
|
|
| Back to top |
|
 |
Andreas Hausladen Guest
|
Posted: Tue Jan 17, 2006 1:43 pm Post subject: Re: 'Incorrect project override option" |
|
|
Andreas Hausladen wrote:
| Quote: | You mean bcc32pch ?
|
If so. Can you post the command line the project options dialog shows you.
So I can use it as testcase for the command line argument parser.
--
Regards,
Andreas Hausladen
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Tue Jan 17, 2006 1:46 pm Post subject: Re: 'Incorrect project override option" |
|
|
Simon Hooper wrote:
| Quote: | I had the same error with a project converted from BCB6 to BCB2006.
I 'resolved' the problem by recreating the project from scratch in
BCB2006.
|
This is a project that was created from scratch :/
| Quote: | Check the list of paths don't contain invalid or duplicated paths.
|
Will do. I've tried removing then readding the unit but it didn't help.
Neither the global nor local -Hr option is set so presumably it's
something the IDE is doing automatically.
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Tue Jan 17, 2006 1:52 pm Post subject: Re: 'Incorrect project override option" |
|
|
Lol! I found that the output directory and csm didn't weren't fully
qualified. I changed that and now the failing unit stops with 'Failed
to write output file'. Other units (including those in the same
directory and next to it in the project file) are still compile without
a problem :-/
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Tue Jan 17, 2006 2:04 pm Post subject: Re: 'Incorrect project override option" |
|
|
I've found the solution and it's a bit worrying. I have to rename the
file to shorten the path. It looks like:
D:ISWDLIBsSrcDrv32LibSrcFSHFSPLUSHFSP_btree_node_handler.cpp
is too long for BDS2006.
D:ISWDLIBsSrcDrv32LibSrcFSHFSPLUSHFSP_btnh.cpp
compiles just fine.
Irritatingly this is actually a dual project. The same source is being
used by both BDS2006 and BCB6 so I'd call this a regression.
Intriguingly the above long path is 69 characters long and ISTR that's
the old DOS path length limit. Dare one use the scary phrase 'buffer
overrun'?
Time to visit QC methinks.
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Tue Jan 17, 2006 2:35 pm Post subject: Re: 'Incorrect project override option" |
|
|
Disregard this. It seems to be a bug in the compiler speed boost
package for BDS2006.
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Tue Jan 17, 2006 2:51 pm Post subject: Re: 'Incorrect project override option" |
|
|
Andreas Hausladen wrote:
| Quote: | You mean bcc32pch ?
If so. Can you post the command line the project options dialog shows
you. So I can use it as testcase for the command line argument
parser.
|
I don't know. I removed it and one unit compiled but now it's stopped
again. Can you confirm the package file names so that I can delete them
and be sure it isn't your code?
Right now all I can say is that my installation of BDS2006 is having
problems with some file names that are longer than 16 characters.
Unfortunately I can't yet create a consistent test case to determine
exactly what the problem is.
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Tue Jan 17, 2006 2:52 pm Post subject: Re: 'Incorrect project override option" |
|
|
Andreas Hausladen wrote:
| Quote: | You mean bcc32pch ?
If so. Can you post the command line the project options dialog shows
you. So I can use it as testcase for the command line argument
parser.
|
-DWINDOWS;WIN32;BUILD_FOR_DLL;REMOVE_OLD_API;COMPILING_SRCDRV;VOGON_DLL_
API_64;_DEBUG;VOGON_UNICODE;VOGON_TESTING -DNO_STRICT;USEPACKAGES -6 -d
-H -H=d:iswdlibssrcdrv32libbdssrcdrv32.csm -Hc -tWD -w -xf -xp
-Od -a1 -k -y -v -vi- -tWM -tW- -c -I"c:program
filesborlandbds4.0include";"c:program
filesborlandbds4.0includedinkumware";"c:program
filesborlandbds4.0includevcl";D:ISWD3rd_PartyBoostCurrent;D:IS
WDLIBsSrcDrv32LibSrcFS;D:ISWDLIBsSrcDrv32LibSrcFSHFSPLUS;D:
ISWDLIBsSrcDrv32LibSrcFSHFS;D:ISWDLIBsSrcDrv32LibSrcFSNTFS;
D:ISWDLIBsSrcDrv32LibSrcAPI;D:ISWDLIBsSrcDrv32LibSrcFEOLD;D
:ISWDLIBsSrcDrv32LibSrcFSFATx;D:ISWDLIBsSrcDrv32LibSrcFSCO
MMON;D:ISWDLIBsSrcDrv32LibSrcPost;D:ISWDLIBsSrcDrv32LibSrcD;
D:ISWDLIBsSrcDrv32LibSrcF;D:ISWDLIBsSrcDrv32LibSrcFStr;D:I
SWDLIBsSrcDrv32Client;D:ISWDSharedHashing;D:ISWDLIBsSrcDrv32Li
bSrcMisc;D:ISWDLIBsSrcDrv32LibSrcDFinger;D:ISWDLIBsSrcDrv32
LibSrc;D:ISWDLIBsSrcDrv32LibBDS;D:ISWDSharedVogonString;D:ISWD
LIBscodepagesup;D:ISWD3rd_partyzlibinclude;D:ISWDLIBsdongle;D:
32bitGenXW32;D:ISWDLIBsSrcDrv32LibSrcFSFileFormats;D:ISWDLIBs
SrcDrv32LibSrcFSNSS;D:ISWDLIBsSrcDrv32LibSrcDecomp;D:ISWDLIB
sSrcDrv32LibSrcFSIXEXT2;D:ISWDLIBsSrcDrv32LibSrcFSNOVX;D:I
SWDLIBsSrcDrv32LibSrcFSIXReiserFS;D:ISWDLIBsSrcDrv32LibSrcF
SIX;D:ISWDLIBsSrcDrv32LibSrcFSHPFS;D:ISWDLIBsSrcDrv32LibSrc
FSCDROM;D:ISWDLIBsSrcDrv32LibSrcFSAMIGA;D:ISWDLIBsSrcDrv32L
ibSrcDSCSI;D:ISWDLIBsSrcDrv32LibSrcFSIXCOMMON;D:ISWDLIBsSr
cDrv32LibSrcFSIXSystemV;D:ISWDLIBsSrcDrv32LibSrcFSIXBSD;D:
ISWDLIBsSrcDrv32LibSrcFSIXXFS;D:ISWDLIBsSrcDrv32LibSrcFSVM
S;D:ISWDSharedPartitionsUDF;D:ISWDLIBsSrcDrv32LibSrcFSUDF;D:
32bitVFSRegExDLLDLLApplication;"c:program
filesstellentcommon";"c:program filesborlandbds4.0LibIndy10"
-od:iswdlibssrcdrv32libbdsobjsreiser_objectlogger.obj
-nd:iswdlibssrcdrv32libbdsobjs
I suppose it could also be the long command line? I'm beginning to
think the problem is coming and going which suggests some kind of
memory overrun /somewhere/.
It's odd because this project was originally recreated in BDS2006
before Christmas and has then been worked on using BCB6 (because BCB6
IDE is so much faster than BDS2006 with your package). /Something/
seems to have broken the IDE :-/
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
Andreas Hausladen Guest
|
Posted: Tue Jan 17, 2006 3:15 pm Post subject: Re: 'Incorrect project override option" |
|
|
Andrue Cope [TeamB] wrote:
| Quote: | I suppose it could also be the long command line? I'm beginning to
think the problem is coming and going which suggests some kind of
memory overrun somewhere.
|
I have experienced a problem with the -I (include directories) command
line option while implementing BDS 2006 support into bcc32ide.exe. After
removing some directories from -I the "internal compiler error" switched
to a "cannot find file". Then I added code to split the -I parameter into
multiple -I parameters and the compiler worked as expected.
| Quote: | because BCB6 IDE is so much faster than BDS2006 with your package
|
bcc32pch does not support the "replacement compiler" in BDS 2006 yet. But
I'm working on it.
--
Regards,
Andreas Hausladen
(http://www.kylix-patch.de.vu - unofficial Kylix 3 patches)
(http://andy.jgknet.de/blog)
|
|
| Back to top |
|
 |
Andreas Hausladen Guest
|
Posted: Tue Jan 17, 2006 3:16 pm Post subject: Re: 'Incorrect project override option" |
|
|
Andrue Cope [TeamB] wrote:
| Quote: | Can you confirm the package file names so that I can delete them
and be sure it isn't your code?
|
It's the bcc32pchPlugin100.bpl file.
--
Regards,
Andreas Hausladen
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Tue Jan 17, 2006 3:58 pm Post subject: Re: 'Incorrect project override option" |
|
|
Andreas Hausladen wrote:
| Quote: | I have experienced a problem with the -I (include directories) command
line option while implementing BDS 2006 support into bcc32ide.exe.
After removing some directories from -I the "internal compiler error"
switched to a "cannot find file". Then I added code to split the -I
parameter into multiple -I parameters and the compiler worked as
expected.
|
I reckon that might be it then. The include paths for that project are
quite long. Odd how it worked before Christmas but if it's a buffer
overrun that's not too surprising.
One thing about that command line that's irritating is the way it's
including Indy 10. I don't use any version of Indy. I disabled the
package and /still/ it appears in the command line.
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Tue Jan 17, 2006 3:59 pm Post subject: Re: 'Incorrect project override option" |
|
|
Andreas Hausladen wrote:
| Quote: | Can you confirm the package file names so that I can delete them
and be sure it isn't your code?
It's the bcc32pchPlugin100.bpl file.
|
It's not your code then - that file is not present.
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
|