User forums > General (but related to Code::Blocks)
[resolved] No targets in New Project wizard
cacb:
--- Quote from: jens on October 20, 2013, 11:05:08 am ---Before running the configure-script just do a
--- Code: ---export CXXFLAGS="-Wno-unused-local-typedefs"
--- End code ---
in the console.
The other issue is fixed later and there are more fixes to the settings-dialogs I am working on.
I will commit them most likely this afternoon/evening/night, but it's always much to test (WinXP, Win7, Liinux and wx2.8 and wxtrunk).
--- End quote ---
Thanks a lot, but I believe that option (-Wno-unused-local-typedefs) is removed in gcc 4.8.1. I tried, and it doesn't work. I believe the opposite (-Wunused-local-typedef) is now implicit in -Wall, without any way of turning it off. A last resort solution is to start fiddling with wx 2.8.12 source, but it isn't ideal.
I shall watch your C::B folder and try again when I see the update. Your work is much appreciated!
Jenna:
I use it here and it works with gcc4.8 on Fedora.
cacb:
--- Quote from: jens on October 20, 2013, 11:26:59 am ---I use it here and it works with gcc4.8 on Fedora.
--- End quote ---
Ok, i will double check. Thanks again.
cacb:
--- Quote from: cacb on October 20, 2013, 11:30:38 am ---
--- Quote from: jens on October 20, 2013, 11:26:59 am ---I use it here and it works with gcc4.8 on Fedora.
--- End quote ---
Ok, i will double check. Thanks again.
--- End quote ---
I have double checked now, and you are correct again :) Somehow, I messed up the first time.
To suppress all wx 2.8 warnings (rightly or wrongly), I found I had to use these two options:
--- Code: ----Wno-unused-local-typedefs
-Wno-literal-suffix
--- End code ---
As I have many code::blocks projects with several targets in each, it isn't straghtforward to update them all. As a temporary solution I have therefore enabled the two options above as global C::B compiler settings for gcc. A better solution would be to use some tool to add them to my project files, I guess.
Jenna:
If you just build C::B, you can add them to the cb_release_type global-variable. That covers most (not all) C::B projects.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version