Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

some issues and requests

<< < (11/12) > >>

Loaden:

--- Quote from: oBFusCATed on October 23, 2010, 01:50:39 am ---12. Call tip for constructors still not working

--- End quote ---
Fixed in r6802.

Loaden:

--- Quote from: oBFusCATed on October 23, 2010, 01:50:39 am ---11. No template parameters for templated classes in the Symbol Browser

--- End quote ---
supported in r6803.

Loaden:

--- Quote from: oBFusCATed on October 23, 2010, 06:24:41 pm ---
--- Quote from: Loaden on October 23, 2010, 04:33:23 pm ---2. We can not distinguish between  C or C++, but __cplusplus just needed by C++, not C. We can not find the best way.

--- End quote ---
2. You can, it the .h file is included from C++ file the __cplusplus macro is define, simple as that (of course it will get pretty nasty if both C and C++ file include the same header) :)

--- End quote ---
No, we can't.
In batch parsing, we can only get the target compiler, but in a project, a target can per a compiler.
So, who is the C Compiler? who is the C++ compiler?
If there have C Compiler, and have C++ Compiler too, then how to decision?
This is too hard, we can't solved it.

oBFusCATed:
Loaden: thanks for the fixes, I'll give it a try the next time Morten syncs the branches :)


--- Quote from: Loaden on November 01, 2010, 10:33:36 am ---No, we can't.
In batch parsing, we can only get the target compiler, but in a project, a target can per a compiler.
So, who is the C Compiler? who is the C++ compiler?
If there have C Compiler, and have C++ Compiler too, then how to decision?
This is too hard, we can't solved it.

--- End quote ---

Why do you care for the compiler?
You know the type of every translation unit (.c or .cpp file),
so if a header is included from a cpp file or a header where __cplusplus is define, you define the __cplusplus...

Loaden:

--- Quote from: oBFusCATed on November 01, 2010, 12:34:01 pm ---Loaden: thanks for the fixes, I'll give it a try the next time Morten syncs the branches :)


--- Quote from: Loaden on November 01, 2010, 10:33:36 am ---No, we can't.
In batch parsing, we can only get the target compiler, but in a project, a target can per a compiler.
So, who is the C Compiler? who is the C++ compiler?
If there have C Compiler, and have C++ Compiler too, then how to decision?
This is too hard, we can't solved it.

--- End quote ---

Why do you care for the compiler?
You know the type of every translation unit (.c or .cpp file),
so if a header is included from a cpp file or a header where __cplusplus is define, you define the __cplusplus...

--- End quote ---
Another way, done in r6805.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version