Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!
Index: options_clang.xml===================================================================--- options_clang.xml (revision 9916)+++ options_clang.xml (working copy)@@ -185,7 +185,7 @@ <Command name="LinkNative" value="$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs -Wl,--subsystem,native"/> <Command name="LinkExe"- value="$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs -mwindows"/>+ value="$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs -Wl,--subsystem,windows"/> <Command name="LinkDynamic" value="$linker -shared -Wl,--output-def=$def_output -Wl,--out-implib=$static_output -Wl,--dll $libdirs $link_objects $link_resobjects -o $exe_output $link_options $libs"/> </if>
http://wiki.codeblocks.org/index.php?title=Creating_a_patch_to_submit_to_BerliOS_%28Patch_Tracker%29
@edison: Which version of clang is the last one that supported the old switch?@alpha: Can we make this parse the version of clang and then pass the appropriate option?
@edison: Which version of clang is the last one that supported the old switch?
I doubt we ever recognized this argument. This probably changed because we started rejecting unknown -m flags.
Oops, must have missed this. Yes, I should be able to add a quick regex. Will do some testing this weekend to see what is necessary.
<Command name="LinkExe"- value="$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs -mwindows"/>+ value="$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs -Wl,--subsystem,windows"/>
<Command name="LinkExe" value="$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs"/>
I will soon commit the equivalent of (for all versions of clang)Code <Command name="LinkExe" value="$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs"/>if there are no reported issues with it.
This will cause a console window below the gui window, make it not a "GUI application".