Opened 2 years ago

Closed 2 years ago

#57270 closed defect (fixed)

octave-devel @5.0.0_6: error: variable length array of non-POD element type 'std::vector<RowVector>'

Reported by: ryandesign (Ryan Schmidt) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: octave-devel

Description

octave-devel fails to build on OS X El Capitan:

https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/66182/steps/install-port/logs/stdio

  CXX      libinterp/corefcn/libcorefcn_la-hess.lo
libinterp/corefcn/graphics.cc:9426:37: error: variable length array of non-POD element type 'std::vector<RowVector>'
      std::vector<RowVector> vec_vn [num_v]; // list of normals for vertices
                                    ^

Change History (2)

comment:1 Changed 2 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Newer clang version seem to handle the VLA extension better.

comment:2 Changed 2 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In 03493b5dc58cef5eacb52d7568e97013581e471d/macports-ports (master):

octave-devel: further restrict older Clang versions

Fixes #57270

Note: See TracTickets for help on using tickets.