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
»
CamelCase variable problem
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: CamelCase variable problem (Read 1974 times)
Wkerry
Multiple posting newcomer
Posts: 76
CamelCase variable problem
«
on:
December 31, 2024, 04:12:35 am »
https://github.com/arnholm/codeblocks_sfmirror/blob/master/src/tools/cbp2make/src/cbpunit.cpp#L115
has m_Filename instead of m_FileName as per
https://github.com/arnholm/codeblocks_sfmirror/blob/master/src/tools/cbp2make/src/cbpunit.h#L36
Logged
ollydbg
Developer
Lives here!
Posts: 6067
OpenCV and Robotics
Re: CamelCase variable problem
«
Reply #1 on:
January 01, 2025, 02:49:40 am »
If the variable does not match, why the compiler hasn't report this?
Maybe, the # if branch is not active in your reported case?
Logged
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.
Wkerry
Multiple posting newcomer
Posts: 76
Re: CamelCase variable problem
«
Reply #2 on:
January 01, 2025, 04:54:24 am »
I just spotted this by accident (open the file by mistake and spotted it) as the variable does not match the variable in the #if code block.
Logged
Miguel Gimenez
Developer
Lives here!
Posts: 1672
Re: CamelCase variable problem
«
Reply #3 on:
January 02, 2025, 02:07:03 pm »
Fixed in
r13601
, thank you.
Logged
Wkerry
Multiple posting newcomer
Posts: 76
Re: CamelCase variable problem
«
Reply #4 on:
January 02, 2025, 10:23:58 pm »
Thanks for taking the time to sort this out.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
Developer forums (C::B DEVELOPMENT STRICTLY!)
»
Development
»
CamelCase variable problem