libyal / libfdatetime

Library for date and time formats
GNU Lesser General Public License v3.0
4 stars 2 forks source link

Duplicate typedefs in types.h #4

Open siliconforks opened 5 months ago

siliconforks commented 5 months ago

libfdatetime_fat_date_time_t and libfdatetime_fat_date_t are defined twice in types.h:

https://github.com/libyal/libfdatetime/blob/47838cea8a01e7623bf61e37cde7f0f279c5956f/include/libfdatetime/types.h.in#L205-L216

This causes GCC to generate a warning when the -pedantic option is used.

joachimmetz commented 5 months ago

Thanks for flagging I'll have a look when time permits. Looks like this is not causing any issues for now.

siliconforks commented 5 months ago

Looks like this is not causing any issues for now.

Indeed, I think this is just a compiler warning. (The code still compiles.)