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

g++ warnings in CompatibleCorba.h



Despite the strange warnings that g++ issues when compiling C++ it seems
to work after linking & running.

Should I be worried?

$ g++ -I${XMLBLASTER_HOME}/src/c++ -I${XMLBLASTER_HOME}/src/c++/generated
-I${XMLCPP_HOME}/include -I${MICO_HOME}/include -DMICO -c Listener.cc

In file included from /home/ddd/xmlBlaster/src/c++/client/I_Callback.h:16,
                 from
/home/ddd/xmlBlaster/src/c++/client/DefaultCallback.h:15,
                 from
/home/ddd/xmlBlaster/src/c++/client/CorbaConnection.h:17,
                 from Listener.cc:12:
/home/ddd/xmlBlaster/src/c++/util/CompatibleCorba.h:83:10:
warning: pasting would not give a valid preprocessing token
In file included from
/home/ddd/xmlBlaster/src/c++/client/DefaultCallback.h:19,
                 from
/home/ddd/xmlBlaster/src/c++/client/CorbaConnection.h:17,
                 from Listener.cc:12:
/home/ddd/xmlBlaster/src/c++/util/CompatibleCorba.h:77:10:
warning: pasting would not give a valid preprocessing token
In file included from
/home/ddd/xmlBlaster/src/c++/util/NameServerControl.h:17,
                 from
/home/ddd/xmlBlaster/src/c++/client/CorbaConnection.h:19,
                 from Listener.cc:12:
/home/ddd/xmlBlaster/src/c++/util/CompatibleCorba.h:83:10:
warning: pasting would not give a valid preprocessing token
In file included from
/home/ddd/xmlBlaster/src/c++/client/CorbaConnection.h:23,
                 from Listener.cc:12:
/home/ddd/xmlBlaster/src/c++/util/CompatibleCorba.h:77:10:
warning: pasting would not give a valid preprocessing token


Here's the lines at the bottom of CompatibleCorba.h that it complains about:
     75 #ifdef   SERVER_HEADER
     76 #define  SERVER_INCLUDE2  <SERVER_INCLUDE(SERVER_HEADER)>
     77 #include SERVER_INCLUDE2
     78 #undef   SERVER_HEADER
     79 #endif
     80
     81 #ifdef   CLIENT_HEADER
     82 #define  CLIENT_INCLUDE2  <CLIENT_INCLUDE(CLIENT_HEADER)>
     83 #include CLIENT_INCLUDE2
     84 #undef   CLIENT_HEADER
     85 #endif


All the best,
DouglasDD
--
  we want to stop reading magazines,
  stop watching tv,
  stop caring about hollywood,
  but we are addicted to things we hate.
    - Dogma, KMFDM