Project::OSiRiON

  • Status Closed
  • Percent Complete
    100%
  • 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 mapfile.cc:

In file included from mapfile.cc:1:
mapfile.cc:293:36: error: variable length array of non-POD element type 'math::Vector3f'
math::Vector3f patchvertices[rows][columns];
^
mapfile.cc:294:37: 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.
Admin
Stijn Buys commented on Monday, 09 February 2015, 22:20 GMT

Clang support was fixed in SVN rev 1469.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing