Svante Signell <[EMAIL PROTECTED]> writes:

Are you just using: ./configure to configure? Or are you adding
something?

| In file included from formula.C:30:
| ../../src/minibuffer.h: At top level:
| ../../src/minibuffer.h:17: using directive `Object' introduced 
| ambiguous type `_ObjectRec *'
| make[3]: *** [formula.lo] Error 1

And where is this _ObjectRec comming from?

What platform did you say this was?

| Same fatal error (the second one) when changing include libstdc++
| file <sstream> for  the 
| supplied file "support/sstream.h" in Lsstream.h as follows:
| #ifdef HAVE_SSTREAM
| #include "support/sstream.h"
| /* #include <sstream> */
| #else
| #include "support/sstream.h"
| #endif

Don't do that.

| /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src 
|-I../../images -I./../ -I../.. -I../.. -I../../boost  -isystem /usr/X11R6/include  -g 
|-O -fno-exceptions -W -Wall -c formula.C
| g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. 
|-I../../boost -isystem /usr/X11R6/include -g -O -fno-exceptions -W -Wall 
|-Wp,-MD,.deps/formula.pp -c formula.C -o formula.o
| In file included from formula.C:30:
| ../../src/minibuffer.h:17: using directive `Object' introduced 
| ambiguous type `_ObjectRec *'
| make: *** [formula.lo] Error 1

What is CXX_WORKING_NAMESPACES set to in config.h?
And what is SIGC_CXX_NAMESPACES set to in sigc++/sigc++config.h?


| In the mathed directory only two files fail to compile: formula.C and
| math_symbols.C. All other files give the warning above, but this
| warning disappears for the supplied version of sstream.
| 
| Maybe the failure of the two files give a hint where to find the
| problem. I'm very sorry for not being fluent enough in C++ to come
| further. Btw, where is the symbol _ObjectRec defined. Searching the
| .C, .c and .h files only results in Object entries, not ObjectRec.

that _ObjectRec has to come from your system.

do you have sigc++ installed on your system?
 
| The compiler is gcc-2.96-60 and libstdc++,-dev is the same brand.
| rpm -qf /usr/include/g++-3/sstream gives: libstdc++-devel-2.96-60
| RH70. versions are: gcc-2.96-54, including libstdc++

This certainly looks like a configuration/distro problemat your end
since I have gcc-2.96-54 working flawlessly and also gcc-2.97 compiles
without (huge) problems.

        Lgb

Reply via email to