[Geany-Devel] C++ Header Extension (was Re: DevynCJohnson's Ideas (November))

Matthew Brush mbrush at xxxxx
Sun Nov 8 17:29:00 UTC 2015

On 2015-11-08 12:25 PM, Matthew Brush wrote:
> On 2015-11-08 3:19 PM, Lex Trotman wrote:
>> On 9 November 2015 at 05:34, Devyn Collier Johnson
>> <devyncjohnson at gmail.com> wrote:
>>> [...]
>>> - Adding "*.i;" to "C="
>>> *.i - C source code which should not be preprocessed
>>> http://labor-liber.org/en/gnu-linux/development/extensions
>> g++ treats this as C++, all languages are *not* C :)
>> This is the same problem as .h, it could be either.
> I've been meaning to bring this up. We should move *.h to C++ now that
> C++ can use C tags. Having it under C means C++ headers don't work, but
> having it under C++ works for both C and C++ headers.

Oops, I forgot the tags from the C++ header wouldn't be visible in C 
files (the opposite is not true). I still think *.h should be for C++, 
but it's probably a hard sell for Geany crowd, it being written in plain 
C and all :)

Matthew Brush

More information about the Devel mailing list