Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Bug: Advanced compiler options resets certain values after quitting

(1/2) > >>

Mad David:
I'm trying to get LLVM to work on code blocks.  LLVM uses a link.exe-compatible linker, lld-link.exe.
These linkers do not use a prefix to specify that a file is a library.  As far as I can tell, you open a library file by providing its name and the linker takes it upon itself to identify it as such.
This means I have to clear the entry for "Link library:" under "Advanced compiler options->other."

This works for a single run time, but when I close Code::Blocks and reopen it, it restores the "-l" value for that compiler, and I have to go back into Advanced compiler options and clear the entry again.

stahta01:
Code::Blocks version?
OS Name and Version?

stahta01:
On Windows 7 using CB 17.12 was able to duplicate problem.

Possible work around enter single space instead of "-l".\; it saves the single space.

Tim S.

oBFusCATed:
I think these settings are defined in xml files.
Have you tried to edit them?
Search for llvm or clang in the codeblocks' install folder.
What version of llvm are you testing?

BlueHazzard:
Have you tried to hit the "save all" button? Settings saving in codeblocks is strange...

Navigation

[0] Message Index

[#] Next page

Go to full version