Lars Gullik Bjønnes wrote:
Rob Lahaye <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes wrote:

John Levon <[EMAIL PROTECTED]> writes:
| On Mon, May 31, 2004 at 11:00:13AM +0900, Rob Lahaye wrote:


My make of up-to-date LyX-CVS ends with:

| Me too (well, something similar) gcc 3.5.0cvs
I don't get either.


| I need this, to successfully compile CVS:


| Index: boost/boost/cstdint.hpp
| ===================================================================
| RCS file: /cvs/lyx/lyx-devel/boost/boost/cstdint.hpp,v
| retrieving revision 1.5
| diff -u -r1.5 cstdint.hpp
| --- boost/boost/cstdint.hpp      2004/02/05 09:14:14     1.5
| +++ boost/boost/cstdint.hpp      2004/06/02 08:24:38
| @@ -118,7 +118,7 @@
|     typedef uint64_t uint_fast64_t;

|     typedef int64_t intmax_t;
| -  typedef uint64_t uintmax_t;
| +//  typedef uint64_t uintmax_t;

|   # else


| Any ideas why this obstructs the compilation?
| Compiler: gcc 3.3.4 20040505 (prerelease)

I doubt that this has anything to do with the compiler. I do not see
the problem with gcc 3.3.2 , 3.3.3 nor 3.5 prerelease.

What is the full error message you get? And what kind of system are
you compiling on?


autogen.sh: Using autoconf (GNU Autoconf) 2.53

gmake:
[...snip...]
gmake[4]: Entering directory `/home/lahaye/SOFTWARE/lyx-devel/boost/libs/regex/src'
source='cpp_regex_traits.cpp' object='cpp_regex_traits.lo' libtool=yes \
depfile='.deps/cpp_regex_traits.Plo' tmpdepfile='.deps/cpp_regex_traits.TPlo' \
depmode=gcc3 /usr/local/bin/bash ../../../../config/depcomp \
/usr/local/bin/bash ../../../../libtool --mode=compile /usr/local/bin/g++33 -DHAVE_CONFIG_H -I. -I. 
-I../../../../src -I../../../../boost  -I/usr/local/include   -I/usr/X11R6/include 
-DBOOST_USER_CONFIG="<config.h>" -g -O -fno-exceptions -W -Wall -c -o 
cpp_regex_traits.lo `test -f cpp_regex_traits.cpp || echo './'`cpp_regex_traits.cpp
 /usr/local/bin/g++33 -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost 
-I/usr/local/include -I/usr/X11R6/include "-DBOOST_USER_CONFIG=<config.h>" -g -O 
-fno-exceptions -W -Wall -c cpp_regex_traits.cpp -MT cpp_regex_traits.lo -MD -MP -MF 
.deps/cpp_regex_traits.TPlo -o cpp_regex_traits.o
In file included from ../../../../boost/boost/regex/config.hpp:54,
                 from cpp_regex_traits.cpp:22:
../../../../boost/boost/cstdint.hpp:121: error: redeclaration of C++ built-in
   type `long'
gmake[4]: *** [cpp_regex_traits.lo] Error 1

-------------

FreeBSD 4.10-STABLE i386
GCC 3.3.4 20040505 (prerelease) [FreeBSD]


Rob.




Reply via email to