Issue 182 in opencollada: Building openCOLLADA r864 fails with gcc 4.7.

0 views
Skip to first unread message

openc...@googlecode.com

unread,
Jan 5, 2012, 2:13:03 PM1/5/12
to opencolla...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 182 by hobbes1...@gmail.com: Building openCOLLADA r864 fails with
gcc 4.7.
http://code.google.com/p/opencollada/issues/detail?id=182

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/COLLADASWTechniqueFX.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/libBuffer/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/COLLADASWTechniqueFX.cpp
In file included from
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWTechniqueFX.h:17:0,
from
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/src/COLLADASWTechniqueFX.cpp:12:
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAnnotation.h:
In
member function 'void COLLADASW::Annotation::add(const String&, const
COLLADASW::ValueType::ColladaType&, T) const':
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAnnotation.h:224:35:
error:
no matching function for call
to 'COLLADASW::Annotation::openAnnotation(const String&) const'
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAnnotation.h:224:35:
note:
candidate is:
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAnnotation.h:164:14:
note:
void COLLADASW::Annotation::openAnnotation(const String&) <near match>
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAnnotation.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/COLLADASWAnnotation.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/COLLADASWAnnotation.h:225:38:
note:
candidate is:
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAnnotation.h:178:14:
note:
void COLLADASW::Annotation::openValuesElement(const
COLLADASW::ValueType::ColladaType&) <near match>
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAnnotation.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/COLLADASWAnnotation.h:227:33:
error:
no matching function for call
to 'COLLADASW::Annotation::closeValuesElement() const'
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAnnotation.h:227:33:
note:
candidate is:
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAnnotation.h:184:14:
note:
void COLLADASW::Annotation::closeValuesElement() <near match>
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAnnotation.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/COLLADASWAnnotation.h:228:30:
error:
no matching function for call
to 'COLLADASW::Annotation::closeAnnotation() const'
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAnnotation.h:228:30:
note:
candidate is:
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAnnotation.h:172:14:
note:
void COLLADASW::Annotation::closeAnnotation() <near match>
/builddir/build/BUILD/openCOLLADA-svn864/COLLADAStreamWriter/include/COLLADASWAnnotation.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.


openc...@googlecode.com

unread,
Mar 13, 2012, 7:13:14 PM3/13/12
to opencolla...@googlegroups.com

Comment #1 on issue 182 by gaiacl...@gmail.com: Building openCOLLADA r864

The attached patch seems to fix the issue.

Attachments:
collada_const_fix.patch 1.2 KB

openc...@googlecode.com

unread,
Mar 13, 2012, 7:21:20 PM3/13/12
to opencolla...@googlegroups.com

Comment #2 on issue 182 by gaiacl...@gmail.com: Building openCOLLADA r864

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

openc...@googlecode.com

unread,
Mar 14, 2012, 5:18:45 PM3/14/12
to opencolla...@googlegroups.com
Updates:
Status: Fixed
Owner: ideasma...@gmail.com

Comment #3 on issue 182 by ideasma...@gmail.com: Building openCOLLADA r864

committed fix r868.

Reply all
Reply to author
Forward
0 new messages