Closed Bug 832860 Opened 9 years ago Closed 9 years ago

--enable-extensions=gnomevfs fails to build after bug 786533

Categories

(Core :: Networking, defect)

x86_64
FreeBSD
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: jbeich, Assigned: jbeich)

References

Details

Attachments

(1 file)

clang error - http://lists.freebsd.org/pipermail/freebsd-gecko/2013-January/003043.html

gmake[4]: Entering directory `/m-c/obj-i386-portbld-freebsd8.3/extensions/gnomevfs'
mkdir -p ".deps/"
nsGnomeVFSProtocolHandler.cpp
g++47 -o nsGnomeVFSProtocolHandler.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include ../../../config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -I/usr/local/include/gnome-vfs-2.0 -I/usr/local/include/gnome-vfs-module-2.0 -I/usr/local/lib/gnome-vfs-2.0/include -I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0 -DORBIT2=1 -D_REENTRANT -I/usr/local/include/glib-2.0 -I../../../extensions/gnomevfs -I. -I../../dist/include  -I/usr/local/include/nspr -I/m-c/obj-i386-portbld-freebsd8.3/dist/include/nss -fPIC -isystem/usr/local/include -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -O2 -pipe -fno-strict-aliasing -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pipe  -DNDEBUG -DTRIMMED -fno-omit-frame-pointer -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/nsGnomeVFSProtocolHandler.o.pp  /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp
In file included from ../../dist/include/mozilla/throw_gcc.h:12:0,
                 from ../../dist/stl_wrappers/new:66,
                 from ../../dist/include/mozilla/mozalloc.h:18,
                 from ../../dist/stl_wrappers/algorithm:39,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
../../dist/include/mozilla/Util.h:26:1: error: template with C linkage
../../dist/include/mozilla/Util.h:68:1: error: template with C linkage
../../dist/include/mozilla/Util.h:76:1: error: template specialization with C linkage
../../dist/include/mozilla/Util.h:82:1: error: template specialization with C linkage
../../dist/include/mozilla/Util.h:88:1: error: template specialization with C linkage
../../dist/include/mozilla/Util.h:94:1: error: template specialization with C linkage
../../dist/include/mozilla/Util.h:100:1: error: template specialization with C linkage
../../dist/include/mozilla/Util.h:116:1: error: template with C linkage
../../dist/include/mozilla/Util.h:128:1: error: template with C linkage
../../dist/include/mozilla/Util.h:151:1: error: template with C linkage
../../dist/include/mozilla/Util.h:235:1: error: template with C linkage
../../dist/include/mozilla/Util.h:249:1: error: template with C linkage
../../dist/include/mozilla/Util.h:261:1: error: template with C linkage
In file included from ../../dist/system_wrappers/new:3:0,
                 from ../../dist/stl_wrappers/algorithm:33,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
/usr/local/lib/gcc47/include/c++/new: In function 'void* operator new(size_t)':
/usr/local/lib/gcc47/include/c++/new:93:7: error: previous declaration of 'void* operator new(std::size_t)' with 'C++' linkage
In file included from ../../dist/stl_wrappers/algorithm:39:0,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
../../dist/include/mozilla/mozalloc.h:198:33: error: conflicts with new declaration with 'C' linkage
In file included from ../../dist/system_wrappers/new:3:0,
                 from ../../dist/stl_wrappers/algorithm:33,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
/usr/local/lib/gcc47/include/c++/new: In function 'void* operator new(size_t, const std::nothrow_t&)':
/usr/local/lib/gcc47/include/c++/new:101:7: error: previous declaration of 'void* operator new(std::size_t, const std::nothrow_t&)' with 'C++' linkage
In file included from ../../dist/stl_wrappers/algorithm:39:0,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
../../dist/include/mozilla/mozalloc.h:204:56: error: conflicts with new declaration with 'C' linkage
In file included from ../../dist/system_wrappers/new:3:0,
                 from ../../dist/stl_wrappers/algorithm:33,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
/usr/local/lib/gcc47/include/c++/new: In function 'void* operator new [](size_t)':
/usr/local/lib/gcc47/include/c++/new:95:7: error: previous declaration of 'void* operator new [](std::size_t)' with 'C++' linkage
In file included from ../../dist/stl_wrappers/algorithm:39:0,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
../../dist/include/mozilla/mozalloc.h:210:35: error: conflicts with new declaration with 'C' linkage
In file included from ../../dist/system_wrappers/new:3:0,
                 from ../../dist/stl_wrappers/algorithm:33,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
/usr/local/lib/gcc47/include/c++/new: In function 'void* operator new [](size_t, const std::nothrow_t&)':
/usr/local/lib/gcc47/include/c++/new:103:7: error: previous declaration of 'void* operator new [](std::size_t, const std::nothrow_t&)' with 'C++' linkage
In file included from ../../dist/stl_wrappers/algorithm:39:0,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
../../dist/include/mozilla/mozalloc.h:216:58: error: conflicts with new declaration with 'C' linkage
In file included from ../../dist/system_wrappers/new:3:0,
                 from ../../dist/stl_wrappers/algorithm:33,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
/usr/local/lib/gcc47/include/c++/new: In function 'void operator delete(void*)':
/usr/local/lib/gcc47/include/c++/new:97:6: error: previous declaration of 'void operator delete(void*)' with 'C++' linkage
In file included from ../../dist/stl_wrappers/algorithm:39:0,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
../../dist/include/mozilla/mozalloc.h:222:33: error: conflicts with new declaration with 'C' linkage
In file included from ../../dist/system_wrappers/new:3:0,
                 from ../../dist/stl_wrappers/algorithm:33,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
/usr/local/lib/gcc47/include/c++/new: In function 'void operator delete(void*, const std::nothrow_t&)':
/usr/local/lib/gcc47/include/c++/new:105:6: error: previous declaration of 'void operator delete(void*, const std::nothrow_t&)' with 'C++' linkage
In file included from ../../dist/stl_wrappers/algorithm:39:0,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
../../dist/include/mozilla/mozalloc.h:228:56: error: conflicts with new declaration with 'C' linkage
In file included from ../../dist/system_wrappers/new:3:0,
                 from ../../dist/stl_wrappers/algorithm:33,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
/usr/local/lib/gcc47/include/c++/new: In function 'void operator delete [](void*)':
/usr/local/lib/gcc47/include/c++/new:99:6: error: previous declaration of 'void operator delete [](void*)' with 'C++' linkage
In file included from ../../dist/stl_wrappers/algorithm:39:0,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
../../dist/include/mozilla/mozalloc.h:234:35: error: conflicts with new declaration with 'C' linkage
In file included from ../../dist/system_wrappers/new:3:0,
                 from ../../dist/stl_wrappers/algorithm:33,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
/usr/local/lib/gcc47/include/c++/new: In function 'void operator delete [](void*, const std::nothrow_t&)':
/usr/local/lib/gcc47/include/c++/new:107:6: error: previous declaration of 'void operator delete [](void*, const std::nothrow_t&)' with 'C++' linkage
In file included from ../../dist/stl_wrappers/algorithm:39:0,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
../../dist/include/mozilla/mozalloc.h:240:58: error: conflicts with new declaration with 'C' linkage
In file included from /usr/local/lib/gcc47/include/c++/utility:71:0,
                 from ../../dist/system_wrappers/utility:3,
                 from ../../dist/stl_wrappers/utility:55,
                 from /usr/local/lib/gcc47/include/c++/algorithm:61,
                 from ../../dist/system_wrappers/algorithm:3,
                 from ../../dist/stl_wrappers/algorithm:55,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
/usr/local/lib/gcc47/include/c++/bits/stl_relops.h: At global scope:
/usr/local/lib/gcc47/include/c++/bits/stl_relops.h:86:5: error: template with C linkage
/usr/local/lib/gcc47/include/c++/bits/stl_relops.h:99:5: error: template with C linkage
/usr/local/lib/gcc47/include/c++/bits/stl_relops.h:112:5: error: template with C linkage
/usr/local/lib/gcc47/include/c++/bits/stl_relops.h:125:5: error: template with C linkage
In file included from /usr/local/lib/gcc47/include/c++/bits/stl_pair.h:61:0,
                 from /usr/local/lib/gcc47/include/c++/utility:72,
                 from ../../dist/system_wrappers/utility:3,
                 from ../../dist/stl_wrappers/utility:55,
                 from /usr/local/lib/gcc47/include/c++/algorithm:61,
                 from ../../dist/system_wrappers/algorithm:3,
                 from ../../dist/stl_wrappers/algorithm:55,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
/usr/local/lib/gcc47/include/c++/bits/move.h:45:3: error: template with C linkage
In file included from /usr/local/lib/gcc47/include/c++/bits/move.h:57:0,
                 from /usr/local/lib/gcc47/include/c++/bits/stl_pair.h:61,
                 from /usr/local/lib/gcc47/include/c++/utility:72,
                 from ../../dist/system_wrappers/utility:3,
                 from ../../dist/stl_wrappers/utility:55,
                 from /usr/local/lib/gcc47/include/c++/algorithm:61,
                 from ../../dist/system_wrappers/algorithm:3,
                 from ../../dist/stl_wrappers/algorithm:55,
                 from /m-c/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp:11:
/usr/local/lib/gcc47/include/c++/type_traits:56:3: error: template with C linkage
/usr/local/lib/gcc47/include/c++/type_traits:71:3: error: template with C linkage
...
Attachment #704456 - Flags: review?(ehsan)
Attachment #704456 - Flags: review?(ehsan) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/24ae2e2afebf
Assignee: nobody → jbeich
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in before you can comment on or make changes to this bug.