mercredi 7 octobre 2020

os_defines.h:44:19: error: missing binary operator before token "("

I'm trying to build my C++ code, I noticed that it fails building in my system (SLES 12.1, GCC 9.2). This the very first error I get:

enter code here
In file included from /opt/gcc92/include/c++/9.2.0/x86_64-pc-linux-gnu/bits/c++config.h:524,
             from /opt/gcc92/include/c++/9.2.0/cstdlib:41,
             from /opt/gcc92/include/c++/9.2.0/stdlib.h:36,
             from /opt/DBB/Linux/components/call****/CallbackManager.cpp:22:
/opt/gcc92/include/c++/9.2.0/x86_64-pc-linux-gnu/bits/os_defines.h:44:19: error: missing binary 
operator before token "("
44 | #if __GLIBC_PREREQ(2,15) && defined(_GNU_SOURCE)
  |                    ^

CallbackManager.cpp

enter code here

1//--------------------------------------------------------------------------
  Source file Creation info

20 // ----------------------------------------------------------------------- 
21
22 #include <stdlib.h>
23 #include <iostream>
24 #include <fstream>
25 #include <sstream>

Aucun commentaire:

Enregistrer un commentaire