[omniORB] log.h recently broken
Mark Zimmerman
markzimm at frii.com
Wed Jun 18 10:06:46 BST 2003
Greetings:
The Friday the 13th checkin of src/appl/omniNames/log.h has broken
compilation under Solaris 8 with gcc-3.2.3. (traditional config)
Here are the errors:
g++ -c -Wall -Wno-unused -mcpu=ultrasparc -I. -D__OMNIORB4__ -I../../../stub -DUsePthread -D_REENTRANT -DDEFAULT_LOGDIR='"/var/omninames"' -I. -I. -I../../../include -D__sparc__ -D__sunos__ -D__OSVERSION__=5 -o omniNames.o omniNames.cc
In file included from /opt/gcc-3.2.3/include/c++/3.2.3/backward/fstream.h:31,
from log.h:34,
from NamingContext_i.h:29,
from omniNames.cc:32:
/opt/gcc-3.2.3/include/c++/3.2.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from NamingContext_i.h:29,
from omniNames.cc:32:
log.h:63: type specifier omitted for parameter `ostream'
log.h:63: syntax error before `&' token
log.h:65: type specifier omitted for parameter `ostream'
log.h:65: syntax error before `&' token
log.h:67: type specifier omitted for parameter `ostream'
log.h:67: syntax error before `&' token
log.h:71: type specifier omitted for parameter `ostream'
log.h:71: syntax error before `&' token
log.h:74: type specifier omitted for parameter `ostream'
log.h:74: syntax error before `&' token
log.h:76: type specifier omitted for parameter `ostream'
log.h:76: syntax error before `&' token
log.h:78: type specifier omitted for parameter `ostream'
log.h:78: syntax error before `&' token
log.h:84: `istream' was not declared in this scope
log.h:84: `file' was not declared in this scope
log.h:84: invalid data member initialization
log.h:84: (use `=' to initialize static data members)
log.h:84: variable or field `getPort' declared void
log.h:86: `istream' was not declared in this scope
log.h:86: `file' was not declared in this scope
log.h:86: invalid data member initialization
log.h:86: variable or field `getCreate' declared void
log.h:88: `istream' was not declared in this scope
log.h:88: `file' was not declared in this scope
log.h:88: invalid data member initialization
log.h:88: variable or field `getDestroy' declared void
log.h:90: `istream' was not declared in this scope
log.h:90: `file' was not declared in this scope
log.h:90: invalid data member initialization
log.h:90: variable or field `getBind' declared void
log.h:92: `istream' was not declared in this scope
log.h:92: `file' was not declared in this scope
log.h:92: invalid data member initialization
log.h:92: variable or field `getUnbind' declared void
log.h:94: type specifier omitted for parameter `istream'
log.h:94: syntax error before `&' token
log.h:96: type specifier omitted for parameter `istream'
log.h:96: syntax error before `&' token
log.h:98: type specifier omitted for parameter `istream'
log.h:98: syntax error before `&' token
log.h:100: type specifier omitted for parameter `istream'
log.h:100: syntax error before `&' token
make[2]: *** [omniNames.o] Error 1
make[2]: Leaving directory `/tmp/omx/omni/src/appl/omniNames'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/tmp/omx/omni/src/appl'
make: *** [export] Error 2
More information about the omniORB-list
mailing list