Author Topic: The 04 April 2012 build (7917) is out.  (Read 38894 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 04 April 2012 build (7917) is out.
« Reply #15 on: April 10, 2012, 04:52:37 am »
All the issues I previously mentioned here http://forums.codeblocks.org/index.php/topic,16024.0.html exist in this nightly. To summarize them:

1- CC doesn't work on function arguments NOT declared in the function declaration.
2- CC doesn't kick in for the standard libraries, like when a dot '.' is typed after 'cout' like 'cout.' CC won't kick in.
3- The red opening parenthesis issue.

I see those issues. but post them in the forum will make them lost. Can you file them in the bug reports in our berliOS site?

I have many of bugs CC signed, but many of them need more time to test.

Thank you.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline scarphin

  • Lives here!
  • ****
  • Posts: 644
Re: The 04 April 2012 build (7917) is out.
« Reply #16 on: April 10, 2012, 11:22:33 pm »
I was once headed to file them as bugs but then forgot. ;) Will do asap.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 04 April 2012 build (7917) is out.
« Reply #17 on: April 12, 2012, 09:35:56 pm »
I found a regression towards 7789. If I use some C::B variables in "Other linker options" pane of "Linker settings" tab in "Compiler and debugger..."->"Global compiler settings" they are not processed. For example, I add option "--list $exe_dir\$exe_name.txt" in that pane. It works with 7789, it does not with 7917.

fubo

In last nightly build CB (7917), the macros $file_name (and other $file.. and etc.) is not replaced in compiler command line...
When are placed in Compiler Settings-> Other Options.
To reproduced:
1. Open  Compiler Settings-> Other Options.
2. Type any options contains macros $file_name,
    for example
    -Wa,-adhlns=$file_name.lst
3. Set Compiler logging full command line
4. Build

and see that macro $file_name is empty string (not replaced by current file name)  :(
In previous nightly build CB all works fine.
Thanks.  

As far as I can see these three are not meant to be used by users in the user's UI.
The purpose of these three is to be used, when some one is defining compiler/linker commands in the advanced settings of the compiler.
And I guess this was a bug that they worked before.
Where have you learnt about them?

Here is some documentation about user's variables -> http://wiki.codeblocks.org/index.php?title=Variable_expansion

@dev: Am I correct in my discoveries?
(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!]

Offline Oleg_Sam

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: The 04 April 2012 build (7917) is out.
« Reply #18 on: April 13, 2012, 06:48:49 am »
May be You right..
may be it was a bug...

But it was a very comfortable for embedded controllers project for generate asm listing files..
this is no necessary for x86 projects.

I no see  reason to removing this future.. ;)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 04 April 2012 build (7917) is out.
« Reply #19 on: April 13, 2012, 09:45:42 am »
Oleg_Sam:
If you need some variable that is not currently implemented you should request a feature and you should explain the use case for it.
Then we can try to implement it.
Why do you need the $file_name variable?
Are you sure there isn't a variable available that you can use instead of 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!]

Offline scarphin

  • Lives here!
  • ****
  • Posts: 644
Re: The 04 April 2012 build (7917) is out.
« Reply #20 on: April 13, 2012, 12:49:48 pm »
All the issues I previously mentioned here http://forums.codeblocks.org/index.php/topic,16024.0.html exist in this nightly. To summarize them:

1- CC doesn't work on function arguments NOT declared in the function declaration.
2- CC doesn't kick in for the standard libraries, like when a dot '.' is typed after 'cout' like 'cout.' CC won't kick in.
3- The red opening parenthesis issue.

I see those issues. but post them in the forum will make them lost. Can you file them in the bug reports in our berliOS site?

I have many of bugs CC signed, but many of them need more time to test.

Thank you.

I filled the bug reports for the 1st and 3rd on Berlios but I'm not sure reporting the 2nd as a bug, I think it's related with my settings. Any help on this or shall I also fill it as a bug?

Offline Oleg_Sam

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: The 04 April 2012 build (7917) is out.
« Reply #21 on: April 13, 2012, 12:53:37 pm »
I understand..  :)
Thank You oBFusCATed !  :-X