View Single Post
  #1 (permalink)  
Old 11-02-2004
dragzhb dragzhb is offline
Registered User
 
 
Join Date: Jul 2004
Posts: 63
Send a message via Yahoo to dragzhb
-->
include/IceUtil/Config.h:196: error: `INT64_MIN' was not declared in this scope

Hi :
I found a bug in include/IceUtil/Config.h:196, it's not always occured, but few time will occured. the error is :

In file included from ../../include/IceUtil/Exception.h:13,
from Exception.cpp:10:
../../include/IceUtil/Config.h:196: error: `INT64_MIN' was not declared in this scope
../../include/IceUtil/Config.h:197: error: `INT64_MAX' was not declared in this scope

if I define as following , it's will okay.

#ifndef INT64_MIN
#define INT64_MIN (-(9223372036854775807 ## L)-1)
#endif

#ifndef INT64_MAX
#define INT64_MAX ((9223372036854775807 ## L))
#endif
Reply With Quote