GNU bug report logs - #29062
PRINTF

Previous Next

Package: coreutils;

Reported by: archit soni <architgsoni <at> gmail.com>

Date: Sun, 29 Oct 2017 23:46:01 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eric Blake <eblake <at> redhat.com>
To: Assaf Gordon <assafgordon <at> gmail.com>, archit soni <architgsoni <at> gmail.com>, 29062 <at> debbugs.gnu.org, control <at> debbugs.gnu.org
Subject: bug#29062: PRINTF
Date: Mon, 30 Oct 2017 08:56:01 +0100
[Message part 1 (text/plain, inline)]
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 (application/pgp-signature, attachment)]

This bug report was last modified 7 years and 209 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.