sweenal / opencollada

Automatically exported from code.google.com/p/opencollada
0 stars 0 forks source link

Building openCOLLADA r864 fails with gcc 4.7. #182

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Attempt a build using gcc 4.7.

What is the expected output? What do you see instead?
Here's the log file (will be available until it is deleted):
http://koji.fedoraproject.org/koji/getfile?taskID=3623018&name=build.log

Log Snippit:
[ 75%] Building CXX object 
COLLADAStreamWriter/CMakeFiles/OpenCOLLADAStreamWriter_shared.dir/src/COLLADASWT
echniqueFX.cpp.o
cd /builddir/build/BUILD/openCOLLADA-svn864/Build/COLLADAStreamWriter && 
/usr/bin/c++   -DOpenCOLLADAStreamWriter_shared_EXPORTS 
-DGENERATEDSAXPARSER_XMLPARSER_LIBXML -DXMLPARSER_LIBXML -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4  -m32 -march=i686 -mtune=atom 
-fasynchronous-unwind-tables   -Wall -Wextra -Wno-unknown-pragmas -Wno-switch 
-Wno-reorder -Wno-unused-parameter -Wno-ignored-qualifiers -O3 -DNDEBUG -fPIC 
-I/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include 
-I/builddir/build/BUILD/openCOLLADA-svn864/COLLADABaseUtils/include 
-I/builddir/build/BUILD/openCOLLADA-svn864/COLLADABaseUtils/include/Math 
-I/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/../common/libftoa
/include 
-I/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/../common/libBuff
er/include 
-I/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/../Externals/UTF/
include    -o 
CMakeFiles/OpenCOLLADAStreamWriter_shared.dir/src/COLLADASWTechniqueFX.cpp.o -c 
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/src/COLLADASWTechni
queFX.cpp
In file included from 
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWTe
chniqueFX.h:17:0,
                 from /builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/src/COLLADASWTechniqueFX.cpp:12:
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h: In member function 'void COLLADASW::Annotation::add(const String&, 
const COLLADASW::ValueType::ColladaType&, T) const':
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h:224:35: error: no matching function for call to 
'COLLADASW::Annotation::openAnnotation(const String&) const'
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h:224:35: note: candidate is:
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h:164:14: note: void COLLADASW::Annotation::openAnnotation(const 
String&) <near match>
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h:164:14: note:   no known conversion for implicit 'this' parameter 
from 'const COLLADASW::Annotation*' to 'COLLADASW::Annotation*'
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h:225:38: error: no matching function for call to 
'COLLADASW::Annotation::openValuesElement(const 
COLLADASW::ValueType::ColladaType&) const'
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h:225:38: note: candidate is:
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h:178:14: note: void COLLADASW::Annotation::openValuesElement(const 
COLLADASW::ValueType::ColladaType&) <near match>
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h:178:14: note:   no known conversion for implicit 'this' parameter 
from 'const COLLADASW::Annotation*' to 'COLLADASW::Annotation*'
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h:227:33: error: no matching function for call to 
'COLLADASW::Annotation::closeValuesElement() const'
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h:227:33: note: candidate is:
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h:184:14: note: void COLLADASW::Annotation::closeValuesElement() <near 
match>
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h:184:14: note:   no known conversion for implicit 'this' parameter 
from 'const COLLADASW::Annotation*' to 'COLLADASW::Annotation*'
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h:228:30: error: no matching function for call to 
'COLLADASW::Annotation::closeAnnotation() const'
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h:228:30: note: candidate is:
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h:172:14: note: void COLLADASW::Annotation::closeAnnotation() <near 
match>
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAn
notation.h:172:14: note:   no known conversion for implicit 'this' parameter 
from 'const COLLADASW::Annotation*' to 'COLLADASW::Annotation*'

What version of the product are you using? On what operating system?
r864 on Fedora 17 (rawhide) x86_64 & i686.

Original issue reported on code.google.com by hobbes1...@gmail.com on 5 Jan 2012 at 7:12

GoogleCodeExporter commented 8 years ago
The attached patch seems to fix the issue.

Original comment by gaia.cl...@machinimatrix.org on 13 Mar 2012 at 11:12

Attachments:

GoogleCodeExporter commented 8 years ago
The patch has been created by jensverwiebe, a developer from the Blender 
development team. The patch was created for opencollada rev839

Original comment by gaia.cl...@machinimatrix.org on 13 Mar 2012 at 11:20

GoogleCodeExporter commented 8 years ago
committed fix r868.

Original comment by ideasma...@gmail.com on 14 Mar 2012 at 9:18