[CMake] cmake config.h
Rolf Eike Beer
eike at sf-mail.de
Sat Jan 29 14:20:49 EST 2011
> ~/build/config.h:245:5: error: missing binary operator before token "1"
>
> ############
> line 245 is this line
> #if HAVE_EXTENDED_PRECISION_REGISTERS
>
> Si I am perplexed where this '1' came from or indeed which '1' is being
> referred to
You probably have named your CMake variable this way, too. CMake replaced
the name of the variable in the template with the value of the variable.
You should go read about @ONLY and #cmakedefine to get your config.h.in
safe for these type of errors.
Eike
More information about the CMake
mailing list