View Issue Details

IDProjectCategoryView StatusLast Update
0003478Far ManagerBuild Systempublic2017-12-23 21:18
ReporterPtomaine Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformWindowsOSWindowsOS Version10
Product Version3.0 
Summary0003478: Build fails with MinGW 7.2.0. IsWindows10OrGreater IS in the
DescriptionWhen building the latest FAR with the recent MinGW GCC 7.2.0, I get the following compilation error:

[quote=log:]Making precompiled headers
In file included from sdk.hpp:35:0,
                 from headers.hpp:191,
                 from headers.cpp:34:
sdk/sdk_common.h: In function 'bool IsWindows10OrGreater()':
sdk/sdk_common.h:262:18: error: redefinition of 'bool IsWindows10OrGreater()'
 VERSIONHELPERAPI IsWindows10OrGreater()
                  ^~~~~~~~~~~~~~~~~~~~
In file included from sdk/sdk_common.h:155:0,
                 from sdk.hpp:35,
                 from headers.hpp:191,
                 from headers.cpp:34:
C:/MinGW/x86_64-w64-mingw32/include/VersionHelpers.h:77:18: note: 'bool IsWindows10OrGreater()' previously defined here
 VERSIONHELPERAPI IsWindows10OrGreater(void) {
                  ^~~~~~~~~~~~~~~~~~~~
mingw32-make.exe[1]: *** [makefile_gcc:234: Release.64.gcc/obj/headers.gch] Error 1[/quote]
Steps To ReproduceCompile the latest FAR with the MinGW GCC 7.2.0 for x64

\farmanager-code\unicode_far>build.bat gcc 64
TagsNo tags attached.
Build

Activities

DrKnS

2017-09-01 21:11

administrator   bugnote:0015537

Give a link to your mingw distribution please.

tm1

2017-12-23 21:18

reporter   bugnote:0015933

http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/

x86_64-7.2.0-release-win32-seh-rt_v5-rev0.7z

or

https://sourceforge.net/projects/msys2/files/Base/i686/

msys2-i686-20161025.exe

msys2-x86_64-20161025.exe

with installed packages

gcc g++ mingw32-make mingw32-utils msys-core msys-m4 msys-bison msys-coreutils msys-diffutils msys-make

Issue History

Date Modified Username Field Change
2017-09-01 21:04 Ptomaine New Issue
2017-09-01 21:11 DrKnS Note Added: 0015537
2017-12-23 21:18 tm1 Note Added: 0015933