User forums > Nightly builds
The 19 February 2015 build (10122) is out.
ollydbg:
--- Quote from: damorin on February 24, 2015, 01:45:03 pm ---See attached the project compressed.
How to reproduce:
- Open the project Test.
- Open only src/test.c
- Right-click on "THIS_IS_A_TEST" and "Find declaration"
- Result is "Not found: THIS_IS_A_TEST" but it's defined in h/test.h which is part of the project but doesn't not appear in the Symbols.
--- End quote ---
You should add one line
--- Code: ---#include "../h/test.h"
--- End code ---
in the head of test.c.
If a header file is not included in any cpp files(translate files), then it will not be parsed. (CC used to parse the header files in project, but the behavior was changed later. I remember there was a change to let the parser follow all the #include directives about several months ago)
damorin:
I added:
#include "test.h"
and I set the C/C++ parser to include the path to h and now it's working.
Just to make it easier, can the error message be "Not found, check the C/C++ parser path".
ollydbg:
--- Quote from: damorin on February 24, 2015, 02:56:27 pm ---Just to make it easier, can the error message be "Not found, check the C/C++ parser path".
--- End quote ---
No, This is only one reason a token is not found, you may have other reasons which cause the error message.
huzhongshan:
when I use this nightly build to create a new console project , file -> new -> project -> console application ,
it shows, something seems wrong?
Jenna:
--- Quote from: huzhongshan on March 06, 2015, 12:29:42 pm ---when I use this nightly build to create a new console project , file -> new -> project -> console application ,
it shows, something seems wrong?
--- End quote ---
See here for a solution/workaround.
This is definitely a bug, probably introduced by changes done by me.
I will look into it, when I'm back from work.
If the "default.conf" is in the standard-folder ("%APPDATA%\CodeBlocks") it should not happen.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version