[physfs] Implicit declaration of function ‘alloca’
Matthew Albrecht
mattparks5855 at gmail.com
Sun Apr 26 15:04:48 EDT 2020
When building release 3.02 on Ubuntu 18.04 with GCC9 or Clang9 I
receive the following error:
> undefined reference to `alloca'
The simplest fix I could find was including alloca.h on Linux systems, I
modified "physfs_internal.h" at line 42 to read:
#if defined(PHYSFS_PLATFORM_SOLARIS) || defined(PHYSFS_PLATFORM_LINUX)
#include <alloca.h>
#endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/physfs/attachments/20200426/ad0e037c/attachment.htm>
More information about the physfs
mailing list