On Sonntag 15 Februar 2009 21:56:31 David Haller wrote:
Hello,
On Sun, 15 Feb 2009, Sascha 'saigkill' Manns wrote:
Hallo Freunde,
momentan baue ich libdbus++, aber make bricht ab bei:
g++ [..] -Werror [..] cc1plus: warnings being treated as errors
Hier steht's.
.../tinyxmlparser.cpp: In static member function 'static const char* TiXmlBase::SkipWhiteSpace(const char*, TiXmlEncoding)': .../tinyxmlparser.cpp:357: error: suggest parentheses around && within || make[3]: *** [tinyxmlparser.lo] Error 1
Was fehlt mir da?
Nix. Du hast ein '-Werror' zuviel in den CFLAGS. Guck mal bei den configure-Optionen, das wird gerne per '--enable-maintainer-mode' oder eine extra Option (z.B. --enable-werror) angefügt. Also ich habe es rekonstruiert. Make war im Verzeichnis src/release. So bin ich in das Verzeichnis gegangen und dann im Makefile geschaut. Die Meldung beinhaltete "tinyxmlparser.cpp". Im Makefile gab es auch diesen Abschnitt mit "tinyxmlparser.cpp". Er lautete: @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinyxmlparser.lo -MD -MP -MF $(DEPDIR)/tinyxmlparser.Tpo -c -o tinyxmlparser.lo `test -f '../tinyxmlparser.cpp' || echo '$(srcdir)/'`../tinyxmlparser.cpp
Ist das der richtige Abschnitt? Wo kann ich da das zweite -Werror löschen? -- Sincereley yours Sascha Manns openSUSE Marketing Team (Weekly News) openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://lizards.opensuse.org/author/saigkill -- To unsubscribe, e-mail: opensuse-programming-de+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming-de+help@opensuse.org