News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The 07 July 2012 build (8086) is out.

Started by killerbot, July 07, 2012, 05:24:13 PM

Previous topic - Next topic

Randajad

When CB would use clang parser? Codelite have clang parser and parse ALL things, include auto variables, in all it parses all and can show compilation errors when ur typing code.
I think it's not to hard to add it's support. It's crossplatform and needs only one dll /.so in cb folder.

oBFusCATed

When someone steps up and implements it. Simple as that. There was a plugin started already, but I've not seen any progress with it.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

sensey

Quote from: Alpha on July 13, 2012, 09:56:34 PMDoes this patch fix it?

Index: src/plugins/compilergcc/compilerMINGW.cpp
===================================================================
--- src/plugins/compilergcc/compilerMINGW.cpp (revision 8106)
+++ src/plugins/compilergcc/compilerMINGW.cpp (working copy)
@@ -178,7 +178,7 @@
     m_Commands[(int)ctLinkConsoleExeCmd].push_back(CompilerTool(_T("$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs")));
     if (platform::windows)
     {
-        m_Commands[(int)ctLinkNativeCmd].push_back(CompilerTool(_T("$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs --subsystem,native")));
+        m_Commands[(int)ctLinkNativeCmd].push_back(CompilerTool(_T("$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs -Wl,--subsystem,native")));
         m_Commands[(int)ctLinkExeCmd].push_back(CompilerTool(_T("$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs -mwindows")));
         m_Commands[(int)ctLinkDynamicCmd].push_back(CompilerTool(_T("$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")));
     }


Finaly, I make it works, I edit "compiler.dll" with an hex editor and remove that part, thanks for showme where to look...

MortenMacFly

Quote from: sensey on July 25, 2012, 10:36:46 PM
Finaly, I make it works, I edit "compiler.dll" with an hex editor and remove that part, thanks for showme where to look...
Whoohoo! Now that's the fist time I heard someone patching C::B with a HexEditor. :o I hope you know how to apply such patches actually, do you?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

sensey

#34
Quote from: MortenMacFly on July 26, 2012, 06:02:02 AMWhoohoo! Now that's the fist time I heard someone patching C::B with a HexEditor. :o I hope you know how to apply such patches actually, do you?

It was simpler than download and compile the code (I already had the hex editor :P), anyway, I did not like the new syntax highlighting of the last nightly, I have to keep using this version...