[Bf-committers] Build info on win32 using scons.

Gabriel Beloin gbeloin at caramail.com
Tue Mar 22 02:37:08 CET 2005


Just now I get error about build time var not being set. Though they don't need to be touched as scons gen a file for it:
***builinfo.c***
#ifdef BUILD_DATE
#ifndef WIN32
char * build_date=BUILD_DATE;
char * build_time=BUILD_TIME;
char * build_platform=BUILD_PLATFORM;
char * build_type=BUILD_TYPE;
#else
#include "winbuildinfo.h"
#endif
#endif


buildinfo.c
source\creator\buildinfo.c(39) : warning C4047: 'initializing' : 'unsigned char
*' differs in levels of indirection from 'int'
source\creator\buildinfo.c(40) : error C2065: 'BUILD_TIME' : undeclared identifi
er
source\creator\buildinfo.c(40) : error C2099: initializer is not a constant
source\creator\buildinfo.c(41) : error C2065: 'BUILD_PLATFORM' : undeclared iden
tifier
source\creator\buildinfo.c(41) : error C2099: initializer is not a constant
source\creator\buildinfo.c(42) : error C2065: 'BUILD_TYPE' : undeclared identifi
er
source\creator\buildinfo.c(42) : error C2099: initializer is not a constant
scons: *** [E:\src\build\win32\source\creator\dynamic_buildinfo.obj] Error 2
scons: building terminated because of errors.

strange error to say the least.

C est le moment de dynamiser votre boîte mail en découvrant les offres CaraMail Max et Pro - http://www.caramail.com



More information about the Bf-committers mailing list