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

Started by
2 comments, last by WitchLord 3 years, 3 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...

Advertisement

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

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