|
|
|
|||||
|
problem in C++ include file ordering
I don't know if this really can be called a bug, anyway the effect of this issue is not nice:
if I have a test.ice and include the following header files: Code:
#include <stdint.h> #include <test.h> the generated test.h includes IceUtil/Config.h which sets the parameter __STDC_LIMIT_MACROS and afterwards includes <stdint.h> but, if stdint.h has already been included before, it won't be included a second time and the INT64_MAX ... macros won't be defined and the compiler exits with an error at the lines: Code:
198 // Assumes ISO C99 types
199 //
200 typedef int64_t Int64;
201 const Int64 Int64Min = INT64_MIN;
202 const Int64 Int64Max = INT64_MAX;
I think this is not really a nice way to include stdint.h but I have to admit I don't know if using one of the other methods which already are in IceUtil.h could deliver all needed variables.greetings, Peter |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Python: #include/import problem with slice2py | hiasl | Bug Reports | 1 | 02-21-2006 09:59 AM |
| IceGrid problem with file names with space character | kovacm | Bug Reports | 2 | 12-12-2005 09:10 AM |
| IcePach2 problem with czech file names | kovacm | Bug Reports | 1 | 11-28-2005 01:00 PM |
| Slice2cpp Include Problem | tony_h | Help Center | 4 | 08-27-2004 11:28 AM |
| Freeze map ordering | dwk | Help Center | 1 | 04-26-2004 07:44 PM |