juliettef / IconFontCppHeaders

C and C++ headers, C# and Python classes, Rust files and Go package for icon fonts Font Awesome, Fork Awesome, Google Material Design icons and symbols, Pictogrammers Material Design icons, Kenney game icons, Fontaudio, Codicons and Lucide.
zlib License
1.21k stars 146 forks source link

Duplicate ICON_MD_FLOURESCENT in IconsMaterialDesign.h #27

Closed jokteur closed 1 year ago

jokteur commented 2 years ago

Hi, In IconsMaterialDesign.h, there are between lines 827 and 829 duplicated ICON_MD_FLOURESCENT. Compiling with this file gives annoying preprocessor warnings. I think it was introduced in 80b7e5a11f29c60f89444b0030f916850977a710. It compiles fine before this commit.

juliettef commented 2 years ago

This error is upstream in the Material Design icons where 'flourescent' (sic) is a duplicate name and 'ec31' is a duplicate codepoint:

As a quick workaround I suggest you manually delete 'flourescent ec31' from IconsMaterialDesign.h. I'll raise the issue of the duplicated name with them.

juliettef commented 1 year ago

@jokteur since the upstream issue isn't fixed yet, I've added for now a workaround that deletes 'flourescent ec31' from the header files. I hope this helps.

juliettef commented 1 year ago

The upstream issue was closed without a fix. The workaround stays and I'm closing this issue.