Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
Developer forums (C::B DEVELOPMENT STRICTLY!)
»
Development
»
Compiler Framework Redesign
»
regular expressions need to be reviewed
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: regular expressions need to be reviewed (Read 25645 times)
killerbot
Administrator
Lives here!
Posts: 5519
regular expressions need to be reviewed
«
on:
September 29, 2015, 02:48:32 pm »
I noticed that gcc 5.1 does not return 5.1 but 5 as result of gcc -dumpversion.
As such lots of options are suddenly not available anymore.
I myself will address already options_common_warnings.xml as a test case.
Logged
Alpha
Developer
Lives here!
Posts: 1513
Re: regular expressions need to be reviewed
«
Reply #1 on:
September 29, 2015, 08:04:29 pm »
I wonder how far back some of these version checks should be kept. How likely is it that someone will have a new build of C::B, but be running gcc 4.6 (released 2011, last updated 2013)?
Logged
oBFusCATed
Developer
Lives here!
Posts: 13406
Re: regular expressions need to be reviewed
«
Reply #2 on:
September 29, 2015, 08:37:41 pm »
Centos 6 has gcc 4.4 as default compiler and many people use it a lot. Me included (I've migrated to clang though).
But there is a chance that I'll need to use gcc 4.4 sometime in the future.
Also it is not unheard of someone requiring the use of gcc 4.1 to make code compatible with Centos 5.
So we need to support them!
Logged
(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!]
Alpha
Developer
Lives here!
Posts: 1513
Re: regular expressions need to be reviewed
«
Reply #3 on:
September 29, 2015, 10:07:39 pm »
Okay, makes sense.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
Developer forums (C::B DEVELOPMENT STRICTLY!)
»
Development
»
Compiler Framework Redesign
»
regular expressions need to be reviewed