https://bugs.llvm.org/show_bug.cgi?id=51296

            Bug ID: 51296
           Summary: clang mingw driver -mconsole doesn't override earlier
                    -mwindows
           Product: new-bugs
           Version: 12.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: llvm-bugzi...@jdrake.com
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    mar...@martin.st

I'm running into a situation where a pkg-config file is providing a -mwindows
argument, but later the program being built explicitly specified -mconsole.  On
gcc, this seems to be respected but with clang -mwindows seems to always win.

https://github.com/llvm/llvm-project/blob/d28af7c654d8db0b68c175db5ce212d74fb5e9bc/clang/lib/Driver/ToolChains/MinGW.cpp#L139-L145

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to