Making a forward declaration of a C symbol defined in another CU

Dennis dkorpel at
Thu Dec 20 08:27:55 UTC 2018

On Thursday, 20 December 2018 at 08:17:58 UTC, Alexander Nicholi 
>     extern (C) const ushort ocoCoreVerMajor;
>     extern (C) const ushort ocoCoreVerMinor;
>     extern (C) const ushort ocoCoreVerPatch;
>     extern (C) const char* ocoCoreVerBuild;
>     extern (C) const char* ocoCoreTimestamp;

Mark these as external, so extern(C) extern const ...

More information about the Digitalmars-d mailing list