mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CMake Feedback Messages
- Reworded the '-std=c++11' feedback messages to user fewer '!' characters, and be more emphatic about upgrading the compiler.
This commit is contained in:
parent
f2998aba74
commit
88d65b23c1
2 changed files with 5 additions and 5 deletions
|
@ -30,13 +30,13 @@ CHECK_CXX_COMPILER_FLAG("-std=gnu++0x" _HAS_GNU0X)
|
||||||
if (_HAS_CXX11)
|
if (_HAS_CXX11)
|
||||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||||
elseif (_HAS_CXX0X)
|
elseif (_HAS_CXX0X)
|
||||||
message (WARNING "Enabling -std=c++0x draft compile flag. Please try using an up to date compiler if you run into any problems!")
|
message (WARNING "Enabling -std=c++0x draft compile flag. Your compiler does not support the standard '-std=c++11' option. Consider upgrading.")
|
||||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
|
||||||
elseif (_HAS_GNU0X)
|
elseif (_HAS_GNU0X)
|
||||||
message (WARNING "Enabling -std=gnu++0x draft compile flag. You're probably in for a bad time, please try using an up to date compiler!")
|
message (WARNING "Enabling -std=gnu++0x draft compile flag. Your compiler does not support the standard '-std=c++11' option. Consider upgrading.")
|
||||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++0x")
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++0x")
|
||||||
else (_HAS_CXX11)
|
else (_HAS_CXX11)
|
||||||
message (FATAL_ERROR "C++11 support missing. Try upgrading your C++ compiler! If you have a good reason for using an outdated compiler, please let us know at support@taskwarrior.org!")
|
message (FATAL_ERROR "C++11 support missing. Try upgrading your C++ compiler. If you have a good reason for using an outdated compiler, please let us know at support@taskwarrior.org.")
|
||||||
endif (_HAS_CXX11)
|
endif (_HAS_CXX11)
|
||||||
|
|
||||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
2.4.2 () -
|
2.4.2 () -
|
||||||
|
|
||||||
- TW-1547 Recur column is always shown even if no recurring task is displayed
|
|
||||||
(thanks to Renato Alves).
|
|
||||||
- TW-1545 cc1plus: error: unrecognized command line option '-std=c++11' (thanks
|
- TW-1545 cc1plus: error: unrecognized command line option '-std=c++11' (thanks
|
||||||
to Petteri).
|
to Petteri).
|
||||||
- TW-1546 column type due.remaining breaks colors on due tasks (thanks to
|
- TW-1546 column type due.remaining breaks colors on due tasks (thanks to
|
||||||
Renato Alves).
|
Renato Alves).
|
||||||
|
- TW-1547 Recur column is always shown even if no recurring task is displayed
|
||||||
|
(thanks to Renato Alves).
|
||||||
- Eliminated some code that is not UTF8-safe.
|
- Eliminated some code that is not UTF8-safe.
|
||||||
- Removed pthreads linkage.
|
- Removed pthreads linkage.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue