• Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category src
  • Assigned To
    Michael Rodenhurst
    Stijn Buys
    Evan Goers
  • Operating System All
  • Severity Very Low
  • Priority Defer
  • Reported Version Development
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Project::OSiRiON
Opened by Evan Goers - 2013-02-04
Last edited by Stijn Buys - 2015-02-09

FS#102 - Variable-length arrays preventing compilation with Clang

When compiling with clang, it will run until stopping with an error on

In file included from error: variable length array of non-POD element type 'math::Vector3f'
math::Vector3f patchvertices[rows][columns];
^ error: variable length array of non-POD element type 'math::Vector2f'
math::Vector2f patchtexcoords[rows][columns];
2 errors generated.
make[3]: *** [mapfile.lo] Error 1
make[3]: *** Waiting for unfinished jobs....

Clang isn't super-important, so I'm marking this as very low severity. In the future, someone might want to compile Osirion for FreeBSD, or another OS that uses Clang as the default compiler, so it might help to fix this problem.

Closed by  Stijn Buys
Monday, 09 February 2015, 22:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  Implemented in SVN rev 1469.
Stijn Buys commented on Monday, 09 February 2015, 22:20 GMT

Clang support was fixed in SVN rev 1469.


Available keyboard shortcuts


Task Details

Task Editing