Menu

#173 5610

Default
closed-fixed
nobody
None
5
2016-02-24
2014-04-25
No

r5610 (vs 5609 which compiles well) changed only memory.h and

On MacOSX 10.7 the error is

Creating camperror.d
g++ -Wall -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -DUSEGC -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -g -O3 -ansi -fno-var-tracking -I . -I/usr/local/include/gc -I/usr/include/gc -o camperror.o -c camperror.cc
In file included from common.h:35,
from camperror.h:16,
from camperror.cc:14:
memory.h:18:45: error: missing binary operator before token "("
make: *** [camperror.o] Error 1

On MacOS 10.9 and compiler which came with Xcode 5.1.1
(./configure LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include CFLAGS=-stdlib=libstdc++)

Creating camperror.d
g++ -Wall -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -DUSEGC -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -I/usr/local/include -stdlib=libstdc++ -I . -I/usr/local/include/gc -I/usr/include/gc -o camperror.o -c camperror.cc
In file included from camperror.cc:14:
In file included from ./camperror.h:16:
In file included from ./common.h:35:
./memory.h:18:45: error: token is not a valid binary operator in a preprocessor
subexpression

if !defined(GNUC_PREREQ) || GNUC_PREREQ(4,3) || defined(CYGWIN)

1 error generated.
make: *** [camperror.o] Error 1

Discussion

  • John Bowman

    John Bowman - 2014-04-26
    • status: open --> closed-fixed
     
  • John Bowman

    John Bowman - 2014-04-26

    I have no idea what the problem is here (except that various underscores have been gobble up in this bug report). Anyway, hopefully the problem is gone in r5611.

     
  • Victor Ivrii

    Victor Ivrii - 2014-04-26

    Yes, it had gone: r5613 compiles well on both 10.7 and 10.9