missing binary operator before token "("
-
Hi Leute!
Ich habe unter openSUSE wxWidgets kompiliert und installiert. Nun wollte ich mit CodeBlocks (Compiler: GNU GCC) das wxWidgets "Hello World"-Programm kompilieren und bekommme seltsame Fehler. Hab auch schon im Internet danach gesucht und einen Lösungsversuch (http://lists.gnu.org/archive/html/bug-gnulib/2004-03/msg00031.html) gefunden, der aber leider nicht funktioniert hat...
Hier der Compiler Output:
/usr/include/assert.h|39|error: missing binary operator before token "("| /usr/include/assert.h|105|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|46|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|50|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|135|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|148|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|206|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|215|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|224|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|233|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|245|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|255|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|264|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|272|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|286|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|294|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|312|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|321|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|326|error: missing binary operator before token "("| /usr/include/sys/cdefs.h|333|error: missing binary operator before token "("| /usr/include/bits/sched.h|126|error: missing binary operator before token "("| /usr/include/bits/sched.h|159|error: missing binary operator before token "("| /usr/include/sys/types.h|158|error: missing binary operator before token "("| /usr/include/assert.h|69|error: expected constructor, destructor, or type conversion before ‘extern’| /usr/include/assert.h|77|error: expected initializer before ‘__THROW’| /usr/include/assert.h|83|error: expected initializer before ‘__THROW’| /usr/include/assert.h|86|error: ‘__END_DECLS’ does not name a type| /usr/include/stdio.h|49|error: expected constructor, destructor, or type conversion before ‘typedef’| /usr/include/stdio.h|65|error: expected constructor, destructor, or type conversion before ‘typedef’| /usr/include/libio.h|332|error: ‘size_t’ does not name a type| /usr/include/libio.h|336|error: ‘size_t’ was not declared in this scope| /usr/include/libio.h|364|error: ‘size_t’ has not been declared| /usr/include/libio.h|373|error: ‘size_t’ has not been declared| /usr/include/libio.h|493|error: ‘size_t’ does not name a type| /usr/include/stdio.h|174|error: expected initializer before ‘*’ token| /usr/include/stdio.h|216|error: ‘FILE’ was not declared in this scope| /usr/include/stdio.h|216|error: ‘__stream’ was not declared in this scope| /usr/include/stdio.h|221|error: ‘FILE’ was not declared in this scope| /usr/include/stdio.h|221|error: ‘__stream’ was not declared in this scope| /usr/include/stdio.h|251|error: expected initializer before ‘*’ token| /usr/include/stdio.h|257|error: expected initializer before ‘*’ token| /usr/include/stdio.h|309|error: variable or field ‘setbuf’ declared void| /usr/include/stdio.h|309|error: ‘FILE’ was not declared in this scope| /usr/include/stdio.h|309|error: expected primary-expression before ‘__restrict__’| /usr/include/stdio.h|309|error: expected primary-expression before ‘char’| /usr/include/stdio.h|313|error: ‘FILE’ was not declared in this scope| /usr/include/stdio.h|313|error: expected primary-expression before ‘__restrict__’| /usr/include/stdio.h|313|error: expected primary-expression before ‘char’| /usr/include/stdio.h|314|error: expected primary-expression before ‘int’| /usr/include/stdio.h|314|error: ‘size_t’ was not declared in this scope| ||More errors follow but not being shown.| ||Edit the max errors limit in compiler options...| ||=== Build finished: 50 errors, 0 warnings ===|
Danke für jede Hilfe!
WilMen
-
Hab den Fehler gefunden. Ich habe dummerweise include-Verzeichnisse angegeben, die nicht gebraucht wurden. Mit dieser Art Fehler hätte ich trotzdem nicht gerechnet.
WilMen