Author Topic: custom compiler issue ...  (Read 4815 times)

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
custom compiler issue ...
« on: January 09, 2007, 05:29:39 pm »
... with CB svn rev 3467 (WinXP)

i just updated from 3459 to 3467 and the new build doesn't see (nor use) my custom compiler sets (which makes me angry)

stepping back to CB svn rev 3459 solved the problem (makes me happy)
« Last Edit: January 09, 2007, 05:34:16 pm by tiwag »

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: custom compiler issue ...
« Reply #1 on: January 09, 2007, 07:51:27 pm »
what exactly goes wrong ?
could you try rev 3460 ?

I have 2 custom compilers myself, and they work.

The only thing I can suspect in rev 3460, maybe due to the fact several variables are initialized now.

Bring it on, so I can help debug.

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: custom compiler issue ...
« Reply #2 on: January 10, 2007, 01:44:28 pm »
what exactly goes wrong ?

my custom compiler definiton disappears from the list of compilers when i launch CB rev 3467
my projects depending on that specific compiler do not build because error message which
states, that there is no such compiler....


could you try rev 3460 ?
i'm just now building 3460 ... (stay tuned)

update:
works fine with rev 3460
/update:


I have 2 custom compilers myself, and they work.

The only thing I can suspect in rev 3460, maybe due to the fact several variables are initialized now.

Bring it on, so I can help debug.

??? what else do you need ?
« Last Edit: January 10, 2007, 02:08:21 pm by tiwag »

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: custom compiler issue ...
« Reply #3 on: January 10, 2007, 02:23:35 pm »
since my user compilers seem to work, can you break down the changes from svn 3460 ?

I would suggest by removing the constructor of the switches struct (so nothing initialized again), maybe something in there now defaults to a conflicting value ??
so that's compiler.h and compiler.cpp [CompilerSwitches();]

[EDIT] : The changes from rev 3460
a) advcompdlg.cpp and xrc : extra checkbox and write/read it's value in a new member for the compiler switches struct
b) because of this compiler.h defines for the switches struct the new bool member
c) constructor for that switches struct
d) directcommands creates alternative obj files names depending on the new bool member
« Last Edit: January 10, 2007, 03:17:33 pm by killerbot »

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: custom compiler issue ... [solved]
« Reply #4 on: January 10, 2007, 02:30:40 pm »
since my user compilers seem to work ...

i did a full rebuild to rev 3474 and now it works with a "by hand" edited *.conf file,
starting from a new default.conf, and importing the custom compiler section ...

don't know exactly what happened, but somehow the migration from my previous *.conf file
into CB rev 3467 didn't work automatically.

anyhow, thanks for your assistance
brgds, --tiwag

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: custom compiler issue ...
« Reply #5 on: January 10, 2007, 03:18:36 pm »
oh, ok. A remaining mystery ;-)