Opened 12 years ago

Closed 12 years ago

#5 closed defect (fixed)

[LINUX] Flags for C++11 not included in Makefile

Reported by: melon Owned by: melon
Priority: major Milestone:
Component: core Version: 0.1
Keywords: Cc: epyon

Description

The flags for C++11 standard are not included in makefiles generated by premake4. The error while compiling the sources:

melon@melon:~/nv/trunk$ make

Building nv (debug)

resource_manager.cc
In file included from /usr/include/c++/4.7/unordered_map:35:0,

from ../nv/resource_manager.hh:18,
from ../src/resource_manager.cc:7:

/usr/include/c++/4.7/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

Change History (1)

comment:1 Changed 12 years ago by melon

  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from [LLINX] Flags for C++11 not included in Makefile to [LINUX] Flags for C++11 not included in Makefile

Fixed under revision 17

Note: See TracTickets for help on using tickets.