Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Strange build error only after changing
Re: Strange build error only after changing [message #13833 is a reply to message #13824] |
Tue, 29 January 2008 14:35   |
cbpporter
Messages: 1427 Registered: September 2007
|
Ultimate Contributor |
|
|
luzr wrote on Tue, 29 January 2008 14:04 |
IMO, you have wrong #includes for .iml.
You should include iml_header.h in header file and iml_source.h in .cpp.
|
Thank you!
That solved the problem. I even created a separate .cpp only for <Draw/iml_sources.h>. Since when do you need to include separate files int the .h and .cpp? I never had any problems with just using <Draw/iml.h> since I started using U++.
Quote: |
For BLITZ, the best is single header per package included in all .cpp files.
|
I think it's quite ironic that in order to increase your compilation speed you need to do the exact opposite of what you learned about C++: if you minimize you .h dependencies, you compilation speed could improve.
Just a question: is BLITZ partially responsible for the big binary size? It would seem that it makes it rather difficult to generate small obj files.
[Updated on: Tue, 29 January 2008 14:56] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Jul 18 09:56:46 CEST 2025
Total time taken to generate the page: 0.03776 seconds
|