Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] BFD: Fix unmatched #ifndef and #endif
@ 2016-05-29  1:28 Honggyu Kim
  2016-05-29  7:29 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Honggyu Kim @ 2016-05-29  1:28 UTC (permalink / raw)
  To: gdb-patches; +Cc: Honggyu Kim

bfd/bfd-in.h has '#ifndef __BFD_H_SEEN__' statement at the beginning of
the header file but do not have '#endif' at the end.

	* bfd/bfd-in.h: Add #endif statment
---
 bfd/bfd-in.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 196bd70..ba36ee1 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -1026,3 +1026,5 @@ extern bfd_boolean v850_elf_create_sections
 
 extern bfd_boolean v850_elf_set_note
   (bfd *, unsigned int, unsigned int);
+
+#endif
-- 
1.9.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] BFD: Fix unmatched #ifndef and #endif
  2016-05-29  1:28 [PATCH] BFD: Fix unmatched #ifndef and #endif Honggyu Kim
@ 2016-05-29  7:29 ` Andreas Schwab
  2016-05-29  8:01   ` Honggyu Kim
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2016-05-29  7:29 UTC (permalink / raw)
  To: Honggyu Kim; +Cc: gdb-patches

Honggyu Kim <hong.gyu.kim@lge.com> writes:

> bfd/bfd-in.h has '#ifndef __BFD_H_SEEN__' statement at the beginning of
> the header file but do not have '#endif' at the end.

It is closed in bfd-in2.h, which is generated from bfd-in.h.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] BFD: Fix unmatched #ifndef and #endif
  2016-05-29  7:29 ` Andreas Schwab
@ 2016-05-29  8:01   ` Honggyu Kim
  0 siblings, 0 replies; 3+ messages in thread
From: Honggyu Kim @ 2016-05-29  8:01 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: gdb-patches

On Sun, May 29, 2016 at 09:29:22AM +0200, Andreas Schwab wrote:
> Honggyu Kim <hong.gyu.kim@lge.com> writes:
> 
> > bfd/bfd-in.h has '#ifndef __BFD_H_SEEN__' statement at the beginning of
> > the header file but do not have '#endif' at the end.
> 
> It is closed in bfd-in2.h, which is generated from bfd-in.h.
> 
> Andreas.
>
Yes, you're right.  I didn't know that bfd-in.h just generates
bfd-in2.h.  But I had a compilation problem so somehow thought that
bfd-in.h could be a problem.  I posted the issue on the link below:
https://sourceware.org/bugzilla/show_bug.cgi?id=20106

Do you mind if I ask you to check the issue?  I think that gdb has to
be normally compiled in any other build environment.
Please correct me if I'm wrong.

Thanks,
Honggyu


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-29  8:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-29  1:28 [PATCH] BFD: Fix unmatched #ifndef and #endif Honggyu Kim
2016-05-29  7:29 ` Andreas Schwab
2016-05-29  8:01   ` Honggyu Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox