[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pcc-list
Subject:    Re: [Pcc] CPP update bugs
From:       Anders Magnusson <ragge () ludd ! ltu ! se>
Date:       2015-07-13 20:54:28
Message-ID: 55A42584.50103 () ludd ! ltu ! se
[Download RAW message or body]

Iain Hibbert skrev den 2015-07-13 21:54:
> Hi
>
> another one
>
> #define statvfs(a, b)	_statvfs(a, b)
>
> struct mount {
> 	struct statvfs mnt_stat;
> };
>
> when preprocessed, produces
>
> struct mount {
>          struct statvfsmnt_stat;
> };
>
> which I suppose that it decided that the token was not going to be
> replaced as it was not a macro, but then it forgot to put the spaces back
> in..?
>
Yep, true.   Now a space is put back if no newlines are read :-)

-- Ragge
_______________________________________________
Pcc mailing list
Pcc@lists.ludd.ltu.se
https://lists.ludd.ltu.se/cgi-bin/mailman/listinfo/pcc
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic