Skip to content

Instantly share code, notes, and snippets.

@ZachBacon
Created September 21, 2022 02:48
Show Gist options
  • Save ZachBacon/83532f08861513e79b489daa7ce58744 to your computer and use it in GitHub Desktop.
Save ZachBacon/83532f08861513e79b489daa7ce58744 to your computer and use it in GitHub Desktop.
Entering directory src.
Entering directory libguess.
Successfully compiled dfa.c.
Successfully compiled guess.c.
Successfully compiled guess_impl.c.
Successfully linked libguess.a.
Leaving directory libguess.
Entering directory libaudcore.
In file included from adder.cc:26:
./audstrings.h:39:20: warning: '__format__' attribute argument not supported: gnu_printf [-Wignored-attributes]
__attribute__((__format__(gnu_printf, 1, 2)));
^
./audstrings.h:41:20: warning: '__format__' attribute argument not supported: gnu_printf [-Wignored-attributes]
__attribute__((__format__(gnu_printf, 2, 3)));
^
In file included from adder.cc:34:
./runtime.h:86:20: warning: '__format__' attribute argument not supported: gnu_printf [-Wignored-attributes]
__attribute__((__format__(gnu_printf, 5, 6)));
^
adder.cc:559:23: error: redeclaration of 'Playlist::insert_entry' cannot add 'dllexport' attribute
EXPORT void Playlist::insert_entry(int at, const char * filename,
^
./playlist.h:193:10: note: previous declaration is here
void insert_entry(int at, const char * filename, Tuple && tuple,
^
adder.cc:568:23: error: redeclaration of 'Playlist::insert_items' cannot add 'dllexport' attribute
EXPORT void Playlist::insert_items(int at, Index<PlaylistAddItem> && items,
^
./playlist.h:197:10: note: previous declaration is here
void insert_items(int at, Index<PlaylistAddItem> && items, bool play) const;
^
adder.cc:574:23: error: redeclaration of 'Playlist::insert_filtered' cannot add 'dllexport' attribute
EXPORT void Playlist::insert_filtered(int at, Index<PlaylistAddItem> && items,
^
./playlist.h:203:10: note: previous declaration is here
void insert_filtered(int at, Index<PlaylistAddItem> && items,
^
adder.cc:593:23: error: redeclaration of 'Playlist::add_in_progress' cannot add 'dllexport' attribute
EXPORT bool Playlist::add_in_progress() const
^
./playlist.h:363:10: note: previous declaration is here
bool add_in_progress() const;
^
adder.cc:616:23: error: redeclaration of 'Playlist::add_in_progress_any' cannot add 'dllexport' attribute
EXPORT bool Playlist::add_in_progress_any()
^
./playlist.h:364:17: note: previous declaration is here
static bool add_in_progress_any();
^
3 warnings and 5 errors generated.
Failed to compile adder.cc (lib)!
make[5]: *** [../../buildsys.mk:418: adder.lib.o] Error 1
make[4]: *** [../../buildsys.mk:134: all] Error 2
make[3]: *** [../buildsys.mk:144: libaudcore] Error 2
make[2]: *** [../buildsys.mk:132: all] Error 2
make[1]: *** [buildsys.mk:144: src] Error 2
make: *** [buildsys.mk:132: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment