- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks,
--mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--mark
icpc -c -DNO_HEAPCHECKER -DCHROMIUM_BUILD -DENABLE_REMOTING=1 -DENABLE_GPU=1 -DNACL_WINDOWS=0 -DNACL_LINUX=1 -DNACL_OSX=0 -DNACL_TARGET_SUBARCH=32 -DNACL_BUILD_SUBARCH=32 -DCHROME_V8 -DGL_GLEXT_PROTOTYPES -DGOOGLE_PROTOBUF_NO_RTTI -DUSE_SYSTEM_LIBBZ2 -DU_STATIC_IMPLEMENTATION -DFEATURE_ENABLE_SSL -DFEATURE_ENABLE_VOICEMAIL -DEXPAT_RELATIVE_PATH -DLINUX -DPOSIX -DLIBXML_STATIC -DHUNSPELL_STATIC -DHUNSPELL_CHROME_CLIENT -DUSE_HUNSPELL -DUSE_GCONF -DUSE_GNOME_KEYRING -DDLOPEN_GNOME_KEYRING -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -pthread -fno-exceptions -Wall -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -pipe -m32 -mmmx -march=pentium4 -msse2 -mfpmath=sse -fno-strict-aliasing -pthread -DORBIT2=1 -pthread -DQT_SHARED -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden native_backend_gnome_x.i.cpp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks,
--mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks,
--mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you add the -P option to the compilation options for file_util_proxy.cc and send me the resulting .i file?
Thanks,
--mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The development team has reproduced the problem and is looking into it. We will
let you know when this issue is resolved. In the mean time you may be able to work around this problem if you replace the unnamed namespace with the construction described in the C++ standard below:
An unnamed-namespace-definition behaves as if it were replaced by
namespace unique { /* empty body */ }
using namespace unique;
namespace unique { namespace-body }
where all occurrences of unique in a translation unit are replaced by the same identifier and this identifier
differs from all other identifiers in the entire program.
Example:
$ cat test.cc
// bad case
#include
namespace {
class A {
public:
virtual void foo() = 0;
void bar() {
std::cout << &A::foo;
}
};
} //namespace
$ cat test1.cc
//good case
#include
namespace my_ns {}
using namespace my_ns;
namespace my_ns{
class A {
public:
virtual void foo() = 0;
void bar() {
std::cout << &A::foo;
}
};
} //namespace
$ icpc -V
Intel C++ Intel 64 Compiler XE for applications running on Intel 64, Version 12.0.1.108 Build 20101116
Copyright (C) 1985-2010 Intel Corporation. All rights reserved.
$ icpc -c test.cc
test.cc(5): error #1757: virtual function "
virtual void foo() = 0;
^
test.cc(6): warning #177: function "
void bar() {
^
compilation aborted for test.cc (code 2)
$ icpc -c test1.cc
$ g++ -m32 -c test1.cc
$ g++ -m32 -c test.cc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks,
--mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem is thatline66707 is part of an explicit request to instantiate a member function of an instantiation of the Dictionary class. Line 66705 is an explicit request to instantiate the same instantiation of the Dictionary class -- which is interpreted as an explicit request to instantiate all the member functions of that template class. So the explicit instantiations of the member functions are redundant.
The workaround isto disable the diagnostic with-wd803.
--mark

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page