extern(C) symbol conflicts

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 27 23:22:22 PST 2015


On 2015-01-27 21:31, Steven Schveighoffer wrote:

> For instance, if one library tags it as pure, but another does not. I
> think an error in that case is warranted.

Yeah. Do the compiler need to look at the parameters as well? Even if 
you put const or immutable, it won't make difference on the C side. But 
it will probably be confusing if one is declared const and another is not.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list