Comment 10 for bug 1120585

Revision history for this message
su_v (suv-lp) wrote :

New -Wdeprecated warnings when compiling r12192 on OS X 10.7 with Apple llvm-gcc-4.2, Apple clang 3.1 (below):

  CXX extension/internal/odf.o
In file included from ../../src/extension/internal/odf.cpp:91:
In file included from ../../src/io/bufferstream.h:34:
In file included from /usr/include/c++/4.2.1/backward/vector.h:59:
/usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. [-W#warnings]
#warning This file includes at least one deprecated or antiquated header. \
 ^
1 warning generated.

and compilation failure with FSF GCC 4.6.3 (below):

  CXX extension/internal/odf.o
In file included from ../../src/extension/internal/odf.cpp:91:0:
../../src/io/bufferstream.h:34:20: fatal error: vector.h: No such file or directory
compilation terminated.
make[3]: *** [extension/internal/odf.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2