[vlc-devel] [PATCH 00/27] Fix of reserved identifiers (cont.)
Rémi Denis-Courmont
remi at remlab.net
Mon Feb 22 20:18:07 CET 2016
Le 2016-02-22 02:12, Filip Roséen a écrit :
>>
>> https://mailman.videolan.org/pipermail/vlc-devel/2016-February/106154.html
>>
>> These patches all boil down to fixing issues where reserved
>> identifiers are
>> used, making the codebase ill-formed according to the C (WG14) ISO
>> Standard.
>>
>> - http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf
>> (section: 7.1.3/1)
>> -
>> http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html
>> - http://c-faq.com/decl/namespace.html
We should fix this, but I hope you don't depend on VLC ever being
correct here...
Fixing all the identifiers violation is pretty much a lost fight
because of:
1) POSIX requirements (notably but not only w.r.t. the _t suffix):
http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_02_02
2) The C++ ODR rule.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list