Liste des Groupes | Revenir à cl c |
David Brown <david.brown@hesbynett.no> wrote at 16:26 this Thursday (GMT):Or maybe, "It's not a bug, it's a feature" :-)On 27/02/2025 15:13, Richard Heathfield wrote:What's worse, its a WONTFIX!On 27/02/2025 12:56, Ar Rakin wrote:>bart <bc@freeuk.com> writes:>
>// isn't devoid of quirks (this is still C after all), for example:>
>
fopen(file,"rb"); // open file in \windows\system32\
fread(...);
>
Here, the // line continues onto the next, so that the fread is
commented out. But they are fewer.
Interesting. Isn't this considered a compiler bug?
No. Line splicing occurs in Translation Phase 2. Comment removal doesn't
happen until Translation Phase3. If a compiler /didn't/ splice those
lines, /that/ would be a bug.
>
The bug, of course, is using Windows and Windows-style paths :-)
>
(Nice to have you back, Richard.)
Les messages affichés proviennent d'usenet.