Re: [PATCH] Adjust nios2 and m68k semihosting for sys/stat.h changes.
Sandra Loosemore <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
On 9/2/19 2:36 AM, Corinna Vinschen wrote: > Hi Sandra, > > On Sep 1 17:52, Sandra Loosemore wrote: >> Commit 72ff9acad2ab54e80a19ddaec0106065c817e3f6 caused st_atime, >> st_ctime, and st_mtime to be defined as macros. This collided with use of >> these identifiers as field names in struct gdb_stat (which represents >> the GDB RSP encoding of struct stat) in libgloss semihosting support for >> nios2 and m68k. This patch renames all the fields of struct gdb_stat. > > Commit d0651704411d fixes this by only renaming the st_Xtime fields > in struct gdb_stat to st_Xtim. Maybe that's an option for you, too? > Otherwise we have multiple different names in an otherwise identical > struct... OK, that works too. I'll post a V2 patch shortly. -Sandra