User forums > Using Code::Blocks
huh what the hell...
byo:
Maybe it's Debug/Release configuration difference. You may run Debug exe in IDE and Release from explorer. Usually debug targets behave differently when your class has some members which are not initialized in constructors. They are filled with different data in those targets, so f.ex. pointers in debug may be NULL but in release some other stuff like 0xBAADF00D, so it's a good practice to initialize everything inside constructors. If it's not the case I don't have any other idea, but it's related to GCC rather than to IDE.
Regards
BYO
lubos:
whoa, this is..really strange...
i have created four particle systems:
release from ide: 1st and 3rd system works
release from explorer: 1st, 2nd and 3rd worked
debug from ide: 4th worker
debug from explorer: 3rd and 4th worked.
:shock: :shock:
it runs differently at every target...i will try to reinstall gcc and if nothing, it seems that i have coded something wrong... :(
thanks for your help :)
byo:
--- Quote from: lubos on June 19, 2007, 07:06:12 pm ---whoa, this is..really strange...
i have created four particle systems:
release from ide: 1st and 3rd system works
release from explorer: 1st, 2nd and 3rd worked
debug from ide: 4th worker
debug from explorer: 3rd and 4th worked.
:shock: :shock:
it runs differently at every target...i will try to reinstall gcc and if nothing, it seems that i have coded something wrong... :(
thanks for your help :)
--- End quote ---
I suggest that you really check your code, set all uninitialized variables, zero newly allocated memory buffers etc. It looks like really nasty bug, so good luck with debugging :)
BYO
rickg22:
Try checking the "Enable all compiler warnings (Wall)" in your project's build options, under compiler. This will make sure nothing will go unnoticed. And if you feel strict, turn on the "pedantic" flag, too :P
Navigation
[0] Message Index
[*] Previous page
Go to full version