long long warning




Hi,

When compiling with c++ -ansi, every file that includes glib (i.e., every
file, pretty much) gives a message like:

In file included from /home/hp/local/include/gdk/gdktypes.h:25,
                 from /home/hp/local/include/gdk/gdk.h:23,
                 from /home/hp/local/include/gtk/gtksignal.h:23,
                 from ../../src/gtk--sigcommon.h:37,
                 from ../../src/gtk--sig.h:152,
                 from ../../src/gtk--/base.h:8,
                 from ../../src/gtk--/object.h:8,
                 from ../../src/gtk--/widget.h:8,
                 from ../../src/gtk--/progress.h:7,
                 from ./../progressbar.gen_h:2,
                 from progressbar.cc:4:
/home/hp/local/include/glib.h:564: warning: ANSI C++ does not support
`long long'
/home/hp/local/include/glib.h:565: warning: ANSI C++ does not support
`long long'

This is egcs 1.0.

Does someone know how to avoid this? Some sort of #ifdef ANSI_CXX thing? 

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]