https://bugs.kde.org/show_bug.cgi?id=380482

            Bug ID: 380482
           Summary: krita on Windows not compiling with master for me
           Product: krita
           Version: git master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: krita-bugs-n...@kde.org
          Reporter: scottpetro...@gmail.com
  Target Milestone: ---

I did a clean build on master latest and it wasn't compiling with an error
about -w and winres.exe. I moved around quite a few commits and think I
pinpointed it to this commit.

Author:         Dmitry Kazakov <dimul...@gmail.com>
Date:           3 weeks ago (5/10/2017 2:28:59 AM)
Commit hash:    53a506aa625c356f758cec68e0819e39b45dc497
Children:       8852506e8e
Parent(s):      532deabb79

Add -Werror=delete-incomplete

Deletion of an incomplete type is extremely dangerous and usually
causes memory leaks, so just make it a build error instead, so we
couldn't miss it.



This is the line that I think is having the issue...

if (CMAKE_COMPILER_IS_GNUCXX AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS
4.9)
    add_definitions(-Werror=delete-incomplete)
endif()


I am on Windows and cmake version 3.4.3. Commenting out these lines makes my
windows build fine, so I imagine there might be something with the if statement
logic that might not be right.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to