Menu

#10 Fix to Compiler Settings Bug

closed
nobody
None
5
2012-09-26
2004-10-15
No

Here is a fix to a bug I introduced. :(

Here is the bug:
1) Create two compiler sets. Set 1 should have no
extra arguments passed to the linker or compiler. Set
2 should have some arguments passed to the linker and
compiler.
2) Open Tools->Compiler Options
3) Select Compiler Set 2 (the one with extra commands
to the linker/compiler)
4) Press Cancel
5) Open Tools->Compiler Options again. Notice that
Compiler Set 1 (the one with no commands to the
linker/compiler) now has Compiler Set 2's commands.

The problem was that current compiler set and the item
in the drop down did not match up. Adding the
following line in btnCancelClick before the close seems
to fix the problem:

devCompiler.CompilerSet:=cmbCompilerSetComp.ItemIndex;

Discussion

  • ricky cancro

    ricky cancro - 2004-10-15

    Diff of CompOptionsFrm.pas

     
  • Colin Laplace

    Colin Laplace - 2004-10-25

    Logged In: YES
    user_id=25510

    applied too thank you

    Colin

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.