[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft-devel] ft2demos/graph/grfill.c compile error on VC
From: |
Allan Yang, Jian Hua - SH |
Subject: |
[ft-devel] ft2demos/graph/grfill.c compile error on VC |
Date: |
Thu, 10 Jan 2008 10:08:34 +0800 |
Error information:
..\..\..\graph\grfill.c(139) : error C2065: 'NULL' : undeclared
identifier
..\..\..\graph\grfill.c(139) : error C2099: initializer is not a
constant
..\..\..\graph\grfill.c(148) : error C2065: 'NULL' : undeclared
identifier
..\..\..\graph\grfill.c(148) : error C2099: initializer is not a
constant
..\..\..\graph\grfill.c(149) : error C2065: 'NULL' : undeclared
identifier
..\..\..\graph\grfill.c(149) : error C2099: initializer is not a
constant
..\..\..\graph\grfill.c(150) : error C2065: 'NULL' : undeclared
identifier
..\..\..\graph\grfill.c(150) : error C2099: initializer is not a
constant
..\..\..\graph\grfill.c(152) : error C2065: 'NULL' : undeclared
identifier
..\..\..\graph\grfill.c(152) : error C2099: initializer is not a
constant
..\..\..\graph\grfill.c(174) : error C2065: 'NULL' : undeclared
identifier
To fix this bug, add include:
#include <stdlib.h>
Or add NULL's define:
#ifndef NULL
#define NULL (void*)0
#endif
Allan
- [ft-devel] ft2demos/graph/grfill.c compile error on VC,
Allan Yang, Jian Hua - SH <=