From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Steffen Persvold <spersvold@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] dhrystone: add patch with forward declarations for functions
Date: Mon, 15 Jul 2024 11:28:55 +0200 [thread overview]
Message-ID: <20240715112855.03e937c4@windsurf> (raw)
In-Reply-To: <20240627103440.27982-1-spersvold@gmail.com>
Hello,
On Thu, 27 Jun 2024 12:34:40 +0200
Steffen Persvold <spersvold@gmail.com> wrote:
> GCC14 will give errors for missing function declarations and
> missing return types :
>
> dhry_1.c:75:1: error: return type defaults to ‘int’ [-Wimplicit-int]
> 75 | main(int argc, char *argv[])
> | ^~~~
> dhry_1.c: In function ‘main’:
> dhry_1.c:159:5: error: implicit declaration of function ‘Proc_5’ [-Wimplicit-function-declaration]
> 159 | Proc_5();
> | ^~~~~~
>
> Signed-off-by: Steffen Persvold <spersvold@gmail.com>
> ---
> package/dhrystone/0006-fwd-decl.patch | 121 ++++++++++++++++++++++++++
> 1 file changed, 121 insertions(+)
> create mode 100644 package/dhrystone/0006-fwd-decl.patch
Thanks for your contribution!
The patch added by your patch was missing a Signed-off-by line and an
Upstream tag, so I've added that. Also your commit message was missing
a reference to the autobuilder failure being fixed by this. I addressed
both issues when applying.
I did a preparation patch to clean-up the existing patches a bit:
https://gitlab.com/buildroot.org/buildroot/-/commit/95013777cf93548eee7ac3010b513d354e8b0a30
And then applied your patch with the fixes described above:
https://gitlab.com/buildroot.org/buildroot/-/commit/3847a145c23234b3bddae3a9ceb9d2d4e6a90fc5
Thanks a lot for your contribution!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-07-15 9:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-27 10:34 [Buildroot] [PATCH] dhrystone: add patch with forward declarations for functions Steffen Persvold
2024-07-15 9:28 ` Thomas Petazzoni via buildroot [this message]
2024-08-20 20:05 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240715112855.03e937c4@windsurf \
--to=buildroot@buildroot.org \
--cc=spersvold@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.