PDA

View Full Version : memcpy build error



bvanevery
03-28-2013, 05:29 PM
This is ClanLib 3.0 SVN rev 9607. Affects several files, typical error:

In file included from ../../Sources/API/Core/Math/mat3.h:38:0,
from ../../Sources/API/Core/Math/mat2.h:38,
from ../../Sources/API/core.h:180,
from ../../Sources/Scene3D/precomp.h:39,
from Passes/Skybox/skybox_pass.cpp:29:
../../Sources/API/Core/Math/mat4.h: In instantiation of 'clan::Mat4<Type>& clan::Mat4<Type>::operator=(const clan::Mat4<Type>&) [with Type = float]':
Passes/Skybox/skybox_pass.cpp:60:35: required from here
../../Sources/API/Core/Math/mat4.h:436:50: error: 'memcpy' 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 /usr/include/string.h:642:0,
from /usr/include/c++/4.7/cstring:44,
from ../../Sources/Scene3D/precomp.h:51,
from Passes/Skybox/skybox_pass.cpp:29:
/usr/include/x86_64-linux-gnu/bits/string3.h:49:1: note: 'void* memcpy(void*, const void*, size_t)' declared here, later in the translation unit
make[2]: *** [Passes/Skybox/libclan30Scene3D_la-skybox_pass.lo] Error 1

rombust
03-28-2013, 10:04 PM
Hopefully fixed now in svn

bvanevery
03-29-2013, 03:52 AM
Builds cleanly!