bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29062: PRINTF


From: Eric Blake
Subject: bug#29062: PRINTF
Date: Mon, 30 Oct 2017 08:56:01 +0100
User-agent: 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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]