[Issue 23699] compilable/test22807.c:10:10: error: unknown type name ‘OldFashionedHeader’

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 20 11:09:27 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23699

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Walter Bright from comment #1)
> ImportC deals with tag name spaces like C++ does. I.e. they are distinct
> only if there is both a tag name declaration and a regular name declaration
> both in the same scope.
> 
> It shouldn't cause any more trouble than using a C++ compiler to compile C
> code.
There is a passing reference to this under Tag Symbols

https://dlang.org/spec/importc.html#tag-symbols

It sort of gets lost in the ether as a lot of the focus of that section points
to the ImportC limitations, rather than extensions.

--


More information about the Digitalmars-d-bugs mailing list