[cmake-commits] alex committed CheckTypeSizeC.c.in 1.2 1.3
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Jun 5 10:20:23 EDT 2007
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv5875
Modified Files:
CheckTypeSizeC.c.in
Log Message:
COMP: don't use stdio, it can fail on some embedded targets (sdcc)
Alex
Index: CheckTypeSizeC.c.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CheckTypeSizeC.c.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CheckTypeSizeC.c.in 5 Jun 2007 12:30:50 -0000 1.2
+++ CheckTypeSizeC.c.in 5 Jun 2007 14:20:21 -0000 1.3
@@ -16,8 +16,6 @@
@CHECK_TYPE_SIZE_PREMAIN@
-#include <stdio.h>
-
#ifdef __CLASSIC_C__
# define const
#endif
@@ -39,7 +37,6 @@
#else
int main(int ac, char*av[]){
#endif
- printf("sizeinfo: -%s-\n", info_sizeof);
return (&info_sizeof[0] != &info_sizeof[0]);
}
More information about the Cmake-commits
mailing list