#1 makes more sense
to me from the current perspective. And this is actually how MBS gnu
tool-chain is currently defined: Managed Make Gnu C++ projects by default
allow having both C and C++ sources currently, while Gnu C projects allow C
only.
Note that generally
it is possible that the C or C++ projects contain some other language, e.g.
FORTRAN. In this sense the project nature should be used for identifying the
primary language only, while the language should be determined based upon the
file name (i.e. file extension) given the content type and/or some other info.
We’re going to stick to this approach in the future to allow multi- and mixed-
language support in CDT.
Talking of C and C++
I think it is reasonable to have one type of project for supporting both C and
C++ in the future.
Are there any
specific requirements for the content type bugs you’re working on that require
the pre-defined list of supported languages?
Mikhail
From: cdt-dev-bounces@xxxxxxxxxxx
[mailto:cdt-dev-bounces@xxxxxxxxxxx] On
Behalf Of Schorn, Markus
Sent: Tuesday, July 11, 2006 1:57
PM
To: CDT General developers list.
Subject: [cdt-dev] c/cpp projects and
content-types
Hi,
I am fixing bugs
related to the content types. I am confused about the meaning of c- vs. c++
projects.
Which one is
correct?
Interpretation
1:
c-project allows for
plain c, only.
c++-project must be
used for c++-code or mixed setups.
Interpretation
2:
c++-project allows
for c++, only.
c-project must be
used for c-code or mixed setups.
Markus.
From: cdt-dev-bounces@xxxxxxxxxxx
[mailto:cdt-dev-bounces@xxxxxxxxxxx] On
Behalf Of Leherbauer, Anton
Sent: Dienstag, 11. Juli 2006
09:37
To: CDT General developers list.
Subject: RE: [cdt-dev] Please accept my
contributions to C/C++ editor
Sergey,
thanks for the
patches.
I'll have a
look.
Toni
From: cdt-dev-bounces@xxxxxxxxxxx
[mailto:cdt-dev-bounces@xxxxxxxxxxx] On
Behalf Of Sergey Prigogin
Sent: Monday, July 10, 2006 8:39
PM
To: CDT General developers list.
Subject: [cdt-dev] Please accept my
contributions to C/C++ editor
Bugzillas 148582 and
140489
contain patches implementing "smart indenting" and "smart caret
positioning" in C/C++ Editor. Could please somebody take a look at these
patches and apply them to the HEAD. Thanks a
loot.
-Sergey