2025-07-18 06:24 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004537Spring engineLinuxpublic2017-09-24 19:11
ReporterMisolavera 
Assigned Toabma 
PrioritylowSeverityblockReproducibilityalways
StatusclosedResolutionunable to reproduce 
Product Version97.0.1+git 
Target VersionFixed in Version 
Summary0004537: cannot compile with gcc 4.9.1 due to deprecated std class
DescriptionFollowing files won't compile due to std::auto_ptr deprecated.
rts/lib/assimp/code/STEPFileReader.cpp
rts/lib/assimp/code/IFCLoader.cpp
Steps To Reproducecompile it with gcc 4.9.1
Additional InformationReplace it with std::unique_ptr that do basically the same thing but with extended template features.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
related to 0004014resolvedabma update assimp / merge support for blender 2.63+ 
+Relationships

-Notes

~0013612

cleanrock (reporter)

I only get deprecation warnings here with 4.9.1:
rts/lib/assimp/code/IFCLoader.cpp:539:26: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.9.1/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
  std::auto_ptr<aiNode> nd(new aiNode());

Are you using -Werror (Make all warnings into errors) ?

~0013613

cleanrock (reporter)

You can also try one of these:
-Wno-deprecated-declarations
-Wno-deprecated
-w

~0013615

Misolavera (reporter)

Last edited: 2014-09-07 17:15

View 2 revisions

Maybe it's my configuration, I'm quite new at compiling spring :)

I didn't defined any flag, so everything is default:
cmake .
make spring


It says it's a warning so I ignored it but at the end, it doesn't link against it. When doing the modification, it does link fine.

~0013617

abma (administrator)

please give the full output when you compile it. i'm using gcc 4.9.1, too and had no issues.

which version of spring do you compile?

~0013618

Misolavera (reporter)

Last edited: 2014-09-07 22:13

View 2 revisions

97.0.1-360

[A few hours later]

I think I found out why the link against the Assimp lib was failing.

I did use "make spring -j 4" and it was just bad luck I managed to reproduce it twice in a row before posting.
I got a similar error on another part.
Making a clean and make -j 3 or 2 worked fine each time.

Sorry to have made you waste your time on this chair-keyboard interface issue.

~0013619

abma (administrator)

next time please copy and paste the output. still i have no clue which error message you got.

"std::auto_ptr deprecated." is clearly not the error, it was/is a warning.
+Notes

-Issue History
Date Modified Username Field Change
2014-09-07 14:36 Misolavera New Issue
2014-09-07 16:39 Misolavera Tag Attached: not spring's fault
2014-09-07 16:40 cleanrock Note Added: 0013612
2014-09-07 16:52 cleanrock Note Added: 0013613
2014-09-07 17:11 Misolavera Note Added: 0013615
2014-09-07 17:15 Misolavera Note Edited: 0013615 View Revisions
2014-09-07 18:41 abma Note Added: 0013617
2014-09-07 18:41 abma Status new => feedback
2014-09-07 18:42 abma Relationship added related to 0004014
2014-09-07 22:11 Misolavera Note Added: 0013618
2014-09-07 22:11 Misolavera Status feedback => new
2014-09-07 22:13 Misolavera Note Edited: 0013618 View Revisions
2014-09-08 00:23 abma Status new => closed
2014-09-08 00:23 abma Assigned To => abma
2014-09-08 00:23 abma Resolution open => unable to reproduce
2014-09-08 00:25 abma Note Added: 0013619
2017-09-24 19:11 Kloot Tag Detached: not spring's fault
+Issue History