[so] Problema macro DIE in windows

Razvan Crainea razvan.crainea at gmail.com
Tue Mar 10 19:31:42 EET 2015


On Tue, Mar 10, 2015 at 7:29 PM Antonache Emanuel Adrian <
antonacheemanuel2007 at gmail.com> wrote:

> Tocmai am observat ca acest comportament ciudat apare si numai daca
> inserez la inceputul functiei main
>         if (argc < MIN_ARGS) {
>
>         }
> , inainte de a declara hashtable-ul si de a prelucra comenzile.
>

Nu este un comportament ciudat, este standardul C89, care nu suportă cod
intercalat cu declarații[1].

[1] https://gcc.gnu.org/onlinedocs/gcc-4.4.5/gcc/Mixed-Declarations.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20150310/fc767e36/attachment-0001.html>


More information about the so mailing list