Commit Graph

29 Commits

Author SHA1 Message Date
RonxBulld
c04f8a5bb9
Fully compatible with GCC4.8 compilation system. (#285)
* -Wsuggest-override is not supported by gcc before 5.0
* GCC prior to 5.0 should ignore not only -Wnon-virtual-dtor but also -Weffc++, otherwise non-virtual destructor problems will still be reported.
* The `#pragma GCC diagnostic push' should be used before setting up the temporary environment.
* When using GCC4.8, use manual lexical analysis instead of regular expressions.
* Add gcc4.8 stuff to travis file.
2021-05-04 17:35:45 +10:00
Jarryd Beck
d10a9b5678 Upgrade GCC versions 2021-02-08 08:41:20 +11:00
jpr89
dc9a7728c0
Fixing cmake developer warning (#274)
Here is the warning currently being produced:

CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.19/Modules/GNUInstallDirs.cmake:223 (message):
Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
target architecture is known. Please enable at least one language before
including GNUInstallDirs.
Call Stack (most recent call first):

I noted how I fixed the error. This is caused by GNUInstallDirs automatically executing code just by including it.

I also added -Werror=dev to the CI to ensure this never happens again.

Co-authored-by: Juan Ramos <juanr0911@gmail.com>
2021-01-19 16:55:23 +11:00
Jarryd Beck
76bd60dc17 Add support for std::optional
Fixes #93. This adds C++17 only support for `std::optional` values for
command line parameters.
2018-01-31 18:25:52 +11:00
Jarryd Beck
9c2e41a4e2 add clang back to travis 2017-12-04 18:14:40 +11:00
Jarryd Beck
2015a7438a Add GCC 4.9 to travis build 2017-11-30 08:39:58 +11:00
Jarryd Beck
92779bef66 Remove clang for now
It appears that the `libc++` available on Ubuntu 14.04 is broken and
doesn't handle the boolean regex correctly. Newer versions appear to be
correct but I have to work out how to get 14.04 to use it.
2017-11-27 08:33:46 +11:00
Jarryd Beck
c2c2262626 remove osx for now 2017-08-18 08:35:44 +10:00
Jarryd Beck
68fba8aeca try build again 2016-12-01 18:45:29 +11:00
Jarryd Beck
85c74eb923 add pkg_config_path for osx 2016-12-01 18:25:46 +11:00
Jarryd Beck
78d99b981c install icu on osx 2016-12-01 08:03:27 +11:00
Jarryd Beck
2b8788f336 fix build 2016-11-30 20:52:57 +11:00
Jarryd Beck
423131a4f0 do all builds with unicode 2016-11-30 18:15:14 +11:00
Jarryd Beck
b4f2b0e267 build with unicode 2016-11-30 18:12:03 +11:00
Jarryd Beck
b0078c6540 don't need env 2016-08-28 13:10:12 +10:00
Jarryd Beck
c0750d0cde try osx again 2016-08-28 13:05:55 +10:00
Jarryd Beck
b091ec31a1 remove osx, fix clang source/package 2016-08-26 18:36:24 +10:00
Jarryd Beck
5d29ed878a try building with libc++ 2016-08-26 18:26:34 +10:00
Jarryd Beck
53ebd933ad set the language correctly 2016-08-26 08:44:46 +10:00
Jarryd Beck
0c0e0391d9 fold string 2016-08-26 08:36:58 +10:00
Jarryd Beck
e1a071480c improve build 2016-08-26 08:34:25 +10:00
Jarryd Beck
5ac2dcc5f5 output on failure 2016-08-26 08:31:53 +10:00
Jarryd Beck
7f4dd15743 use the right compiler 2016-08-26 08:29:53 +10:00
Jarryd Beck
37e09fb92c build tests in travis 2016-08-26 08:26:13 +10:00
Jarryd Beck
defb7c8d77 try osx build 2016-08-26 08:24:55 +10:00
Jarryd Beck
003ba3253e we actually wanted to use trusty 2016-08-25 18:58:30 +10:00
Jarryd Beck
f413718c5f use precise on travis 2016-08-25 18:40:40 +10:00
Jarryd Beck
ca9d4e4825 update cmake version 2016-08-25 18:35:22 +10:00
Jarryd Beck
2d480c0228 add testing 2016-08-25 08:49:56 +10:00