8000 Mingw32 build failed · Issue #10 · google/libkml · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.

Mingw32 build failed #10

Open
saitej09 opened this issue Aug 24, 2016 · 0 comments
Open

Mingw32 build failed #10

saitej09 opened this issue Aug 24, 2016 · 0 comments

Comments

@saitej09
Copy link

I am trying to compile using mingw32 (msys) with the following compiler:
COLLECT_GCC=C:\MinGW\bin\g++.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.9.3/lto-wrapper.exe
Target: mingw32
Configured with: ../src/gcc-4.9.3/configure --build=x86_64-pc-linux-gnu --host=mingw32 --prefix=/mingw --disable-win32-registry --target=mingw32 --with-arch=i586 --enable-languages=c,c++,objc,obj-c++,fortran,ada --enable-static --enable-shared --enable-threads --with-dwarf2 --disable-sjlj-exceptions --enable-version-specific-runtime-libs --enable-libstdcxx-debug --with-tune=generic --enable-nls
Thread model: win32
gcc version 4.9.3 (GCC)

I get this error during make:
time_util.cc:43:35: error: use of C++11 long long integer constant [-Werror=long-long]
#define DELTA_EPOCH_IN_MICROSECS 11644473600000000ULL
^
time_util.cc:58:18: note: in expansion of macro 'DELTA_EPOCH_IN_MICROSECS'
file_time64 -= DELTA_EPOCH_IN_MICROSECS;
^
cc1plus.exe: all warnings being treated as errors

I tried adding c++11 flags to make file:
CXXFLAGS = -g -O2 -std=c++11 but it gives the same error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0