Public bug reported:

Binary package hint: xulrunner-1.9.1

This is insane, apparently breaking all platforms having long double 128
support (sparc, powerpc, alpha, s390). Doing that during the package
build is one thing, installing this as public header files is annoying,
breaking all builds on these platforms using these headers.

g++ -o nsWifiScannerUnix.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API 
-D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE 
-D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  
-DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DIMPL_NS_NET  -I. -I. 
-I../../../dist/include/xpcom -I../../../dist/include/string 
-I../../../dist/include/pref -I../../../dist/include/storage 
-I../../../dist/include   -I../../../dist/include/necko -I/usr/include/nspr   
-I/usr/include 
-I/home/asac/build/build-area/xulrunner-1.9.1-1.9.1.3+build1+nobinonly/build-tree/mozilla/dist/sdk/include
    -fPIC   -fno-rtti -fno-exceptions -Wall -Wpointer-arith 
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor 
-Wno-invalid-offsetof -Wno-long-long -pedantic -g -fno-strict-aliasing 
-fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os -freorder-blocks 
-fno-reorder-functions    -DMOZILLA_CLIENT -include ../../../mozilla-config.h 
-Wp,-MD,.deps/nsWifiScannerUnix.pp nsWifiScannerUnix.cpp
In file included from /usr/include/c++/4.4/cstddef:43,
                 from /usr/include/c++/4.4/new:39,
                 from ../../../dist/include/xpcom/nsTArray.h:46,
                 from ../../../dist/include/string/nsReadableUtils.h:51,
                 from ../../../dist/include/string/nsString.h:52,
                 from ../../../dist/include/xpcom/nsStringGlue.h:49,
                 from ../../../dist/include/xpcom/nsVoidArray.h:43,
                 from ../../../dist/include/xpcom/nsCOMArray.h:42,
                 from nsWifiMonitor.h:46,
                 from nsWifiScannerUnix.cpp:45:
/usr/include/c++/4.4/sparc-linux-gnu/bits/c++config.h:214: error: expected 
unqualified-id before 'namespace'

sparc-linux-gnu/bits/c++config.h reads:

  // Namespace associations for long double 128 mode.
  #if defined _GLIBCXX_LONG_DOUBLE_COMPAT && defined __LONG_DOUBLE_128__ 
  namespace std
  {
    inline namespace __gnu_cxx_ldbl128 { }
  }

which gets expanded to:

  # 212 "/usr/include/c++/4.4/sparc-linux-gnu/bits/c++config.h" 3
  namespace std
  {
     inline __attribute__((always_inline)) namespace __gnu_cxx_ldbl128 { }
  }

Please really consider fixing this for karmic.

** Affects: xulrunner-1.9.1 (Ubuntu)
     Importance: High
         Status: New

** Changed in: xulrunner-1.9.1 (Ubuntu)
   Importance: Undecided => High

** Changed in: xulrunner-1.9.1 (Ubuntu)
    Milestone: None => ubuntu-9.10

-- 
redefinition of 'inline namespace' in installed headers
https://bugs.launchpad.net/bugs/435793
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to