Opened 12 months ago

#67517 assigned defect

gmtk @1.4.3: error: invalid suffix on literal; C++11 requires a space between literal and identifier

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: rprogers@…
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: gmtk

Description

gmtk fails to build with compilers that default to C++11 (or later) mode:

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

gmtkModelInfo.cc:638:32: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
 case terse: fprintf(outF, "%s"BF, sep, ((b) ? 1 : 0)); break; \
                               ^

Change History (0)

Note: See TracTickets for help on using tickets.