-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Fails with ndk-build (gnu make version 3.81)
[armeabi] Compile++ arm : FreeImage <= PluginRAW.cpp
In file included from jni/freeimage/./Source/FreeImage/PluginRAW.cpp:22:
In file included from jni/freeimage/./Source/FreeImage/../LibRawLite/libraw/libraw.h:40:
In file included from jni/freeimage/Source/LibRawLite/libraw/libraw_datastream.h:37:
In file included from E:/prog/Android/ndk-bundle/build//../sources/cxx-stl/gnu-libstdc++/4.9/include\fstream:41:
E:/prog/Android/ndk-bundle/build//../sources/cxx-stl/gnu-libstdc++/4.9/include\cstdio:107:11: error: no member named 'fgetpos' in the global namespace
using ::fgetpos;
~~^
E:/prog/Android/ndk-bundle/build//../sources/cxx-stl/gnu-libstdc++/4.9/include\cstdio:117:11: error: no member named 'fsetpos' in the global namespace
using ::fsetpos;
~~^
In file included from jni/freeimage/./Source/FreeImage/PluginRAW.cpp:22:
In file included from jni/freeimage/./Source/FreeImage/../LibRawLite/libraw/libraw.h:40:
jni/freeimage/Source/LibRawLite/libraw/libraw_datastream.h:96:10: warning: 'auto_ptr<std::basic_streambuf<char> >' is deprecated
[-Wdeprecated-declarations]
std::auto_ptr<std::streambuf> f; /* will close() automatically through dtor */
^
E:/prog/Android/ndk-bundle/build//../sources/cxx-stl/gnu-libstdc++/4.9/include\backward/auto_ptr.h:281:7: note:
'auto_ptr<std::basic_streambuf<char> >' has been explicitly marked deprecated here
} _GLIBCXX_DEPRECATED;
^
E:/prog/Android/ndk-bundle/build//../sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include\bits/c++config.h:82:46: note: expanded from macro
'_GLIBCXX_DEPRECATED'
# define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__))
^
In file included from jni/freeimage/./Source/FreeImage/PluginRAW.cpp:22:
In file included from jni/freeimage/./Source/FreeImage/../LibRawLite/libraw/libraw.h:40:
jni/freeimage/Source/LibRawLite/libraw/libraw_datastream.h:97:10: warning: 'auto_ptr<std::basic_streambuf<char> >' is deprecated
[-Wdeprecated-declarations]
std::auto_ptr<std::streambuf> saved_f; /* when *f is a subfile, *saved_f is the master file */
^
E:/prog/Android/ndk-bundle/build//../sources/cxx-stl/gnu-libstdc++/4.9/include\backward/auto_ptr.h:281:7: note:
'auto_ptr<std::basic_streambuf<char> >' has been explicitly marked deprecated here
} _GLIBCXX_DEPRECATED;
^
E:/prog/Android/ndk-bundle/build//../sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include\bits/c++config.h:82:46: note: expanded from macro
'_GLIBCXX_DEPRECATED'
# define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__))
^
2 warnings and 2 errors generated.
make: *** [obj/local/armeabi/objs/FreeImage/./Source/FreeImage/PluginRAW.o] Error 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels