>From some checks I've done it seems that the linkage returned for
non-object/non-function declarations might be different from no linkage
also in C (in C++ this is perfectly fine)

This would be contrary to the all the C standards (*).

I'm missing something? There is a reason for such behavior?

(*) C11 6.2.2p6

The following identifiers have no linkage: an identifier declared to be
anything other than
an object or a function; an identifier declared to be a function
parameter; a block scope
identifier for an object declared without the storage-class specifier
extern.

-- 
Abramo Bagnara

BUGSENG srl - http://bugseng.com
mailto:[email protected]
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to