User forums > Help

C/C++ parser ignores includes with minus

<< < (2/3) > >>

oBFusCATed:
l_inc: By self-contained I've meant a project that doesn't depend on external files.

Manolo: Reread the first post, please.

l_inc:
oBFusCATed
Sorry, I misunderstood you. All dependencies are included in the attachment. Same situation there: O_RDONLY not resolved unless the minus replaced.

Manolo
I don't have any problems compiling the project. Neither from the console nor from CodeBlocks. In Ubuntu the header fcntl-linux.h is indeed resolved by the C::B parser. Unfortunately I killed my Ubuntu installation before checking how it works with the attached project.

oBFusCATed:
Still not minimal.
I can reproduce the problem.

ollydbg: Can you look at it?

l_inc:
oBFusCATed

--- Quote ---Still not minimal.
--- End quote ---
It's as minimal as I could get without taking a dive into the CodeBlocks source codes. I was unable to make the bug manifest in an artificial environment, so I decided to just cut it off the natural and hope it will behave deterministically.

ollydbg:

--- Quote from: oBFusCATed on October 29, 2015, 08:34:47 pm ---Still not minimal.
I can reproduce the problem.

ollydbg: Can you look at it?

--- End quote ---
A little late response, sorry.
I just download the achieve file, and unzip it, and open the cbp inside the nightly build(rev10553), and right click on the context menu of main.cpp, and I can correctly jump to the definition of macro O_RDONLY inside the file "include\bits\fcntl-linux.h", the mouse hover messages also shows the definitions, see image shot below:


So, It works fine here on my test environment.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version