disabled %llu warnings with MinGW on Windows
parent
156ab8f4a1
commit
78f3e0630b
|
@ -34,6 +34,7 @@ matrix:
|
||||||
- gcc-arm-linux-gnueabi
|
- gcc-arm-linux-gnueabi
|
||||||
- libc6-dev-armel-cross
|
- libc6-dev-armel-cross
|
||||||
- linux-libc-dev-armel-cross
|
- linux-libc-dev-armel-cross
|
||||||
|
- binfmt-support
|
||||||
- os: linux
|
- os: linux
|
||||||
sudo: required
|
sudo: required
|
||||||
env: PLATFORM="Ubuntu 12.04" CMD="make -C programs test32"
|
env: PLATFORM="Ubuntu 12.04" CMD="make -C programs test32"
|
||||||
|
@ -41,6 +42,7 @@ matrix:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- libc6-dev-i386
|
- libc6-dev-i386
|
||||||
|
- gcc-multilib
|
||||||
- os: linux
|
- os: linux
|
||||||
sudo: required
|
sudo: required
|
||||||
env: PLATFORM="Ubuntu 12.04" CMD="make -C tests versionsTest"
|
env: PLATFORM="Ubuntu 12.04" CMD="make -C tests versionsTest"
|
||||||
|
@ -51,6 +53,7 @@ matrix:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- libc6-dev-i386
|
- libc6-dev-i386
|
||||||
|
- gcc-multilib
|
||||||
- os: linux
|
- os: linux
|
||||||
sudo: required
|
sudo: required
|
||||||
env: PLATFORM="Ubuntu 12.04" CMD="make -C programs valgrindTest"
|
env: PLATFORM="Ubuntu 12.04" CMD="make -C programs valgrindTest"
|
||||||
|
@ -62,12 +65,13 @@ matrix:
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: trusty
|
dist: trusty
|
||||||
sudo: required
|
sudo: required
|
||||||
env: PLATFORM="Ubuntu 14.04" CMD="make zlibwrapper && make clean && make gcc5test && make clean && make gcc6test && make clean && make ppcinstall ppctest"
|
env: PLATFORM="Ubuntu 14.04" CMD="make zlibwrapper && make clean && make gcc5test && make clean && make gcc6test && make clean && make ppctest"
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
sources:
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
packages:
|
packages:
|
||||||
|
- gcc-multilib
|
||||||
- gcc-5-multilib
|
- gcc-5-multilib
|
||||||
- gcc-6-multilib
|
- gcc-6-multilib
|
||||||
- qemu-system-ppc
|
- qemu-system-ppc
|
||||||
|
|
|
@ -41,11 +41,12 @@
|
||||||
* Compiler Options
|
* Compiler Options
|
||||||
***************************************/
|
***************************************/
|
||||||
#ifdef _MSC_VER /* Visual */
|
#ifdef _MSC_VER /* Visual */
|
||||||
# define _POSIX_SOURCE 1 /* enable %llu on Windows */
|
|
||||||
# define _CRT_SECURE_NO_WARNINGS /* removes Visual warning on strerror() */
|
# define _CRT_SECURE_NO_WARNINGS /* removes Visual warning on strerror() */
|
||||||
# pragma warning(disable : 4204) /* non-constant aggregate initializer */
|
# pragma warning(disable : 4204) /* non-constant aggregate initializer */
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(__MINGW32__) && !defined(_POSIX_SOURCE)
|
||||||
|
# define _POSIX_SOURCE 1 /* disable %llu warnings with MinGW on Windows */
|
||||||
|
#endif
|
||||||
|
|
||||||
/*-*************************************
|
/*-*************************************
|
||||||
* Includes
|
* Includes
|
||||||
|
|
Loading…
Reference in New Issue