Advertisement

[Linux] (Some) addons compile fail, missing include for strstr()

Started by January 02, 2021 01:52 AM
2 comments, last by WitchLord 3 years, 10 months ago
/.../AngelScript/sdk/add_on/scriptfile/scriptfilesystem.cpp:90:6: error: ‘strstr’ was not declared in this scope
  if( strstr(asGetLibraryOptions(), "AS_MAX_PORTABILITY") )
      ^~~~~~
/.../AngelScript/sdk/add_on/scriptfile/scriptfilesystem.cpp:90:6: note: ‘strstr’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?

g++ 8, 9, 10

Games are meant to be created, not played...

Thanks for letting me know. I'll have it fixed as soon as possible.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement

I've fixed this in rev 2688

Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement