News:

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

Main Menu

The 26 November 2008 build (5322) is out.

Started by killerbot, November 27, 2008, 06:26:06 PM

Previous topic - Next topic

Bat2k

Hi, guys. I tried 8.02 stable version and found strange behaviour, then I migrated to 5322 nightly build to check it here. I'm talking about changing compiler with project and global compiler settings inheritance in projects. I guess it's a bug, if not can someone explain:
1) how global compiler settings are influence on project compiler settings (i guess the flags should be inherited),
2) why when I change compiler in the project flags are remain the same( project was created with msvc then i switch it to gcc and couldn't compile because CB feeds gcc with cl flags!)
3) why when I set project compiler settings and there is 'Append...' mode in build targets compiler settings checkboxes there are not set (the same problem with settings inheritance)

Thanks.

ollydbg

Quote from: Bat2k on January 06, 2009, 11:15:47 AM
Hi, guys. I tried 8.02 stable version and found strange behaviour, then I migrated to 5322 nightly build to check it here. I'm talking about changing compiler with project and global compiler settings inheritance in projects. I guess it's a bug, if not can someone explain:
1) how global compiler settings are influence on project compiler settings (i guess the flags should be inherited),
2) why when I change compiler in the project flags are remain the same( project was created with msvc then i switch it to gcc and couldn't compile because CB feeds gcc with cl flags!)
3) why when I set project compiler settings and there is 'Append...' mode in build targets compiler settings checkboxes there are not set (the same problem with settings inheritance)

Thanks.

I use both GCC setting for global and project compiler setting. So ,I could only say something to your question 3.
I think it is not necessary to inheritance setting from Project setting to build target Append setting. Project setting is a common setting for all the build targets, so, if things like you said, when you change the checkbox in one build target setting, the Project setting  will be changed or not?
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.

Bat2k

QuoteI use both GCC setting for global and project compiler setting. So ,I could only say something to your question 3.
if things like you said, when you change the checkbox in one build target setting, the Project setting  will be changed or not?

Of course not! Because Project is a parent of build targets in the sense of toolchain settings. Also global settings should be copied to project settings as well. Let's answer a question differently - What is the purpose of global compiler settings?

ollydbg

@mmkider

Did you still encounter the "drag toolbar crash" problem in Windows with wxWidgets 2.8.10 and latest nightly build?

As I mentioned in this post:
http://forums.next.codeblocks.org/index.php/topic,9648.msg67823.html#msg67823

Thanks :D
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.