What is your common c++ version, compiler, system config.,
etc? Anyway, I think that line can be safely removed. However, it is
strange that only that line makes the compiler complain, since
equivalent statements are used in the same file as well as in other
files.
On Fri, Nov 29, 2002 at 01:57:11PM -0800, Fred Leeflang wrote:
> Commenting out line 572, a result of freddy77's 'merge' fixes the
> compile problem.
>
> On Fri, 2002-11-29 at 13:35, Fred Leeflang wrote:
>
> > Just checked out commoncpp from CVS, ran reconfig, configure and make:
> >
> > address@hidden:~/commoncpp$ make
> > Making all in src
> > make[1]: Entering directory `/home/fredl/commoncpp/src'
> > /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.
> > -I../src -I/usr/include/libxml2/libxml -I/usr/include/libxml2
> > -I../src -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c
> > inaddr.cpp
> > rm -f .libs/inaddr.lo
> > c++ -DHAVE_CONFIG_H -I. -I. -I. -I../src -I/usr/include/libxml2/libxml
> > -I/usr/include/libxml2 -I../src -g -O2 -D_GNU_SOURCE -D_REENTRANT
> > -D_THREAD_SAFE -Wp,-MD,.deps/inaddr.pp -c inaddr.cpp -fPIC -DPIC -o
> > .libs/inaddr.lo
> > In file included from inaddr.cpp:46:
> > socket.h:572: type specifier omitted for parameter
> > socket.h:572: parse error before `)'
> > make[1]: *** [inaddr.lo] Error 1
> > make[1]: Leaving directory `/home/fredl/commoncpp/src'
> > make: *** [all-recursive] Error 1
> >
> >
> > --
> > Fred Leeflang <address@hidden>
>
> --
> Fred Leeflang <address@hidden>
>