Public bug reported:

When compiling thunderbird-2.0.0.9 with -pedantic, it fails on
/usr/include/glib-2.0/glib/gtestutils.h errors:

$ g++-4.2 -o nsMIMEInfoUnix.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API 
-DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2007122722 -I. 
-I../../dist/include/xpcom -I../../dist/include/string 
-I../../dist/include/unicharutil -I../../dist/include/mimetype 
-I../../dist/include/uriloader -I../../dist/include/necko 
-I../../dist/include/rdf -I../../dist/include/webshell 
-I../../dist/include/plugin -I../../dist/include/pref -I../../dist/include/intl 
-I../../dist/include/uconv -I../../dist/include/docshell 
-I../../dist/include/windowwatcher -I../../dist/include/embed_base 
-I../../dist/include/dom -I../../dist/include/exthandler -I../../dist/include 
-I/usr/include/nspr -I/usr/include -I/usr/include -I../../dist/sdk/include 
-fPIC -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor 
-Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -pipe 
-w -O2 -fno-strict-aliasing -g -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 
-DMOZILLA_CLIENT -include ../../mozilla-config.h 
-Wp,-MD,.deps/nsMIMEInfoUnix.pp ./unix/nsMIMEInfoUnix.cpp
In file included from /usr/include/glib-2.0/glib.h:74,
                 from ./unix/nsMIMEInfoUnix.cpp:30:
/usr/include/glib-2.0/glib/gtestutils.h:25: error: extra ‘;’
/usr/include/glib-2.0/glib/gtestutils.h:121: error: comma at end of enumerator 
list
/usr/include/glib-2.0/glib/gtestutils.h:218: error: comma at end of enumerator 
list
/usr/include/glib-2.0/glib/gtestutils.h:243: error: extra ‘;’

ii  libglib2.0-0                 2.15.0-0ubuntu1             The GLib library 
of C routines
ii  libglib2.0-dev               2.15.0-0ubuntu1             Development files 
for the GLib library

** Affects: glib2.0 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
glib 2.15 not clean with -pedantic
https://bugs.launchpad.net/bugs/179119
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to