Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
On 10/30/2017 01:46 AM, Assaf Gordon wrote:
>
> This is not a relevant mailing list for such questions.
One more point - attaching a screenshot of plain text is wasteful of
bandwidth; it's better to copy-and-paste relevant text content, rather
than forcing people to transcribe the screenshot.
Another observation:
> int main() {
> typedef struct me {
> char str[8];
> int a;
> int b;
> }m;
> m a;
>
> #include <string.h>
Mid-function includes like this are almost never going to work the way
you expect. #includes should always be at the file scope.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc Description: OpenPGP digital signature