#30 make error 3.15.4

None
closed
Hervé Drolon
None
6
2014-03-23
2013-08-06
Anonymous
No

errors shown when running make on windows:

In file included from Source/OpenEXR/./IlmImf/ImfHuf.cpp:50:0:
Source/OpenEXR/IlmImf/ImfAutoArray.h: In instantiation of 'Imf::AutoArray<T, size="">::AutoArray() [with T = int; int size = 65537]':
Source/OpenEXR/./IlmImf/ImfHuf.cpp:298:34: required from here
Source/OpenEXR/IlmImf/ImfAutoArray.h:60:40: error: 'memset' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] In file included from Source/OpenEXR/./IlmImf/ImfHuf.cpp:52:0:
c:\mingw\bin../lib/gcc/mingw32/4.7.2/../../../../include/string.h:40:39: note: 'void memset(void, int, size_t)' declared here, later in the translation unit
In file included from Source/OpenEXR/./IlmImf/ImfHuf.cpp:50:0:
Source/OpenEXR/IlmImf/ImfAutoArray.h: In instantiation of 'Imf::AutoArray<T, size="">::AutoArray() [with T = long long unsigned int*; int size = 65537]':
Source/OpenEXR/./IlmImf/ImfHuf.cpp:299:38: required from here
Source/OpenEXR/IlmImf/ImfAutoArray.h:60:40: error: 'memset' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] In file included from Source/OpenEXR/./IlmImf/ImfHuf.cpp:52:0:
c:\mingw\bin../lib/gcc/mingw32/4.7.2/../../../../include/string.h:40:39: note: 'void memset(void, int, size_t)' declared here, later in the translation unit
In file included from Source/OpenEXR/./IlmImf/ImfHuf.cpp:50:0:
Source/OpenEXR/IlmImf/ImfAutoArray.h: In instantiation of 'Imf::AutoArray<T, size="">::AutoArray() [with T = long long unsigned int; int size = 65537]':
Source/OpenEXR/./IlmImf/ImfHuf.cpp:361:36: required from here
Source/OpenEXR/IlmImf/ImfAutoArray.h:60:40: error: 'memset' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] In file included from Source/OpenEXR/./IlmImf/ImfHuf.cpp:52:0:
c:\mingw\bin../lib/gcc/mingw32/4.7.2/../../../../include/string.h:40:39: note: 'void memset(void, int, size_t)' declared here, later in the translation unit
In file included from Source/OpenEXR/./IlmImf/ImfHuf.cpp:50:0:
Source/OpenEXR/IlmImf/ImfAutoArray.h: In instantiation of 'Imf::AutoArray<T, size="">::AutoArray() [with T = Imf::{anonymous}::HufDec; int size = 16384]':
Source/OpenEXR/./IlmImf/ImfHuf.cpp:1062:37: required from here
Source/OpenEXR/IlmImf/ImfAutoArray.h:60:40: error: 'memset' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] In file included from Source/OpenEXR/./IlmImf/ImfHuf.cpp:52:0:
c:\mingw\bin../lib/gcc/mingw32/4.7.2/../../../../include/string.h:40:39: note: 'void memset(void, int, size_t)' declared here, later in the translation unit
make[1]: [Source/OpenEXR/./IlmImf/ImfHuf.o] Error 1
make[1]: Leaving directory `D:/FreeImage'
make:
[default] Error 2

Discussion


Anonymous


Cancel   Add attachments