Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » ImageFile (iml) #include [SOLVED]
Re: ImageFile [message #18982 is a reply to message #18972] Sun, 02 November 2008 23:29 Go to previous messageGo to previous message
sapiency is currently offline  sapiency
Messages: 56
Registered: September 2008
Member
luzr wrote on Sun, 02 November 2008 21:46


Usually, and I would recommend that, when developing U++ app, we are using single "main" header per package and all C++ files include this one.


I believe you but the project grows Wink and it takes really long (on my machine) to compile everytime the hole file - and Wink I don't like large files Wink.

luzr wrote on Sun, 02 November 2008 21:46


In that case, put those .iml lines with "iml_header.h" to this header and "iml_source.h" to any single .cpp.

Anyway, what you have done works too, of course. All you need to remember is that "iml_source.h" include is equivalent of defining all iml elements. And there is "one definition rule" in C++ - no function or variable can be defined twice (or linker error).


Ok, now I understand the description in the docu Wink

luzr wrote on Sun, 02 November 2008 21:46



Just one more note - if you are doing things wrongly, it sometimes might lead to weird problems when you compile in debug mode (it compiles sometimes, sometimes not). This is caused by BLITZ compile accelerator, which sometimes hides wrong arrangement of headers.

Mirek



Thanks.

regards

reinhard
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: EXIF data access
Next Topic: Draw was added to plugin/png.
Goto Forum:
  


Current Time: Sat Jun 14 14:00:13 CEST 2025

Total time taken to generate the page: 0.14367 seconds