[cmake-developers] [CMake 0012998]: rc-File support for MinGW: <FLAGS> incompatibilities between GCC and windres

Mantis Bug Tracker mantis at public.kitware.com
Mon Aug 20 11:53:03 EDT 2012


The following issue is now in status NEW (again) 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12998 
====================================================================== 
Reported By:                Amine Khaldi
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12998
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Target Version:             CMake 2.8.10
====================================================================== 
Date Submitted:             2012-02-26 07:18 EST
Last Modified:              2012-08-20 11:53 EDT
====================================================================== 
Summary:                    rc-File support for MinGW: <FLAGS> incompatibilities
between GCC and windres
Description: 
Hi,

For ReactOS when we use basically the default CMAKE_RC_COMPILE_OBJECT in GCC
builds, the <FLAGS> variable expands into the includes + C/CXX compiler flags. 

This makes windres error out on some targets, for example vga has "-mrtd" among
them, which windres doesn't accept.

I guess a solution would be separating includes from compiler flags, so that we
can set our own rule, keeping the includes and omitting the flags, but you guys
may have a better solution.

Thanks.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0012444 Starting with CMake 2.8.4 it passes inv...
related to          0012371 Resource compilation gets wrong paramet...
====================================================================== 

---------------------------------------------------------------------- 
 (0030367) David Cole (manager) - 2012-08-11 21:09
 http://public.kitware.com/Bug/view.php?id=12998#c30367 
---------------------------------------------------------------------- 
Sending old, never assigned issues to the backlog.

(The age of the bug, plus the fact that it's never been assigned to anyone means
that nobody is actively working on it...)

If an issue you care about is sent to the backlog when you feel it should have
been addressed in a different manner, please bring it up on the CMake mailing
list for discussion. Sign up for the mailing list here, if you're not already on
it: http://www.cmake.org/mailman/listinfo/cmake

It's easy to re-activate a bug here if you can find a CMake developer who has
the bandwidth to take it on, and ferry a fix through to our 'next' branch for
dashboard testing.
 

---------------------------------------------------------------------- 
 (0030696) Kurtis Nusbaum (reporter) - 2012-08-18 14:46
 http://public.kitware.com/Bug/view.php?id=12998#c30696 
---------------------------------------------------------------------- 
Just like to note that I'm experiencing pain from the bug and would like to see
it fixed. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-02-26 07:18 Amine Khaldi   New Issue                                    
2012-02-27 08:57 Brad King      Relationship added       related to 0012444  
2012-02-27 08:58 Brad King      Relationship added       related to 0012371  
2012-08-11 21:09 David Cole     Status                   new => backlog      
2012-08-11 21:09 David Cole     Note Added: 0030367                          
2012-08-18 14:46 Kurtis Nusbaum Note Added: 0030696                          
2012-08-20 11:53 David Cole     Status                   backlog => new      
2012-08-20 11:53 David Cole     Target Version            => CMake 2.8.10    
======================================================================




More information about the cmake-developers mailing list