TheWiseNoob / OMP

OMP is an open-source music player being developed for Linux. OMP is programmed in C++ using gtkmm, GStreamer, TagLib, clastfm, and g++.
https://openmusicplayer.com
Other
100 stars 3 forks source link

Build fails: `Metadata.h: error: 'auto' not allowed in function prototype` #51

Closed barracuda156 closed 5 months ago

barracuda156 commented 5 months ago
In file included from Base.cc:88:
./Metadata/Metadata.h:284:28: error: 'auto' not allowed in function prototype
    void Remove_Duplicates(auto tracks, auto& single_tracks, 
                           ^~~~
./Metadata/Metadata.h:284:41: error: 'auto' not allowed in function prototype
    void Remove_Duplicates(auto tracks, auto& single_tracks, 
                                        ^~~~
./Metadata/Metadata.h:285:28: error: 'auto' not allowed in function prototype
                           auto& external_cue_tracks_tracks,
                           ^~~~
./Metadata/Metadata.h:286:28: error: 'auto' not allowed in function prototype
                           auto& embedded_cue_tracks_tracks, int size);
                           ^~~~
./Metadata/Metadata.h:289:8: error: 'auto' not allowed in function prototype
      (auto tracks, auto& single_tracks, auto& external_cue_tracks_tracks);
       ^~~~
./Metadata/Metadata.h:289:21: error: 'auto' not allowed in function prototype
      (auto tracks, auto& single_tracks, auto& external_cue_tracks_tracks);
                    ^~~~
./Metadata/Metadata.h:289:42: error: 'auto' not allowed in function prototype
      (auto tracks, auto& single_tracks, auto& external_cue_tracks_tracks);
                                         ^~~~
2 warnings and 7 errors generated.

Also a flag -fconcepts is not supported by some compilers, so it should be used conditionally.

barracuda156 commented 5 months ago

Building from the master also fails:

--->  Building OMP
Executing:  cd "/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/OMP-cb13874318bbf6d5909b649c9ddbfe79cc0a1df7" && /usr/bin/make -j4 -w all CC="/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/cc/usr/bin/clang" CXX="/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/cxx/usr/bin/clang++" OBJC="/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/objc/usr/bin/clang" OBJCXX="/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/objcxx/usr/bin/clang++" INSTALL="/usr/bin/install -c" 
make: Entering directory `/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/OMP-cb13874318bbf6d5909b649c9ddbfe79cc0a1df7'
/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/cxx/usr/bin/clang++ -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -stdlib=libc++ -g -DFLATPAK=0 -std=c++17 -Wall -pipe -Wno-deprecated-declarations -Wno-parentheses  -Wno-catch-value -Wno-return-type -DAPP_DIR= -c GUI/Elements/Abouts/About.cc \
    `pkg-config --cflags --libs gtkmm-3.0` \

/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/cxx/usr/bin/clang++ -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -stdlib=libc++ -g -DFLATPAK=0 -std=c++17 -Wall -pipe -Wno-deprecated-declarations -Wno-parentheses  -Wno-catch-value -Wno-return-type -c GUI/Elements/Abouts/Abouts.cc \
    `pkg-config --cflags --libs gtkmm-3.0` \

/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/cxx/usr/bin/clang++ -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -stdlib=libc++ -g -DFLATPAK=0 -std=c++17 -Wall -pipe -Wno-deprecated-declarations -Wno-parentheses  -Wno-catch-value -Wno-return-type -c GUI/Artwork.cc \
    `pkg-config --cflags --libs gtkmm-3.0`
/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/cxx/usr/bin/clang++ -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -stdlib=libc++ -g -DFLATPAK=0 -std=c++17 -Wall -pipe -Wno-deprecated-declarations -Wno-parentheses  -Wno-catch-value -Wno-return-type -c \
    GUI/Elements/ConfigurationGUIs/Panels/Artwork/ArtworkPanel.cc \
    `pkg-config --cflags --libs gtkmm-3.0`
clangclang: clang: clang: warning: warning: -lgtkmm-3.0: 'linker' input unused [-Wunused-command-line-argument]: warning: 
warning: -lgtkmm-3.0: 'linker' input unused [-Wunused-command-line-argument]-lgtkmm-3.0: 'linker' input unused [-Wunused-command-line-argument]clang
: warning: -latkmm-1.6: 'linker' input unused [-Wunused-command-line-argument]
-lgtkmm-3.0: 'linker' input unused [-Wunused-command-line-argument]
clang: 
clang: warning: -latkmm-1.6: 'linker' input unused [-Wunused-command-line-argument]
clangclang: : warning: warning: -lgdkmm-3.0: 'linker' input unused [-Wunused-command-line-argument]-lgdkmm-3.0: 'linker' input unused [-Wunused-command-line-argument]warning: 
-latkmm-1.6: 'linker' input unused [-Wunused-command-line-argument]clang
: warning: clang
: warning: clang-lgdkmm-3.0: 'linker' input unused [-Wunused-command-line-argument]: 
warning: -lgiomm-2.4: 'linker' input unused [-Wunused-command-line-argument]clang
: warning: clang-lgiomm-2.4: 'linker' input unused [-Wunused-command-line-argument]-lgiomm-2.4: 'linker' input unused [-Wunused-command-line-argument]: 

clangclang: : warning: warning: -lgtk-3: 'linker' input unused [-Wunused-command-line-argument]-lgtk-3: 'linker' input unused [-Wunused-command-line-argument]

warning: clang-lgtk-3: 'linker' input unused [-Wunused-command-line-argument]: 
warning: -lgdk-3: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -latk-1.0: 'linker' input unused [-Wunused-command-line-argument]clang
: clangwarning: : -lgdk-3: 'linker' input unused [-Wunused-command-line-argument]warning: 
-lcairo-gobject: 'linker' input unused [-Wunused-command-line-argument]clang
: clangwarning: clang: : warning: warning: -lgio-2.0: 'linker' input unused [-Wunused-command-line-argument]-latk-1.0: 'linker' input unused [-Wunused-command-line-argument]

-lgdk-3: 'linker' input unused [-Wunused-command-line-argument]clang
: warning: clangclang: clangwarning: : -latk-1.0: 'linker' input unused [-Wunused-command-line-argument]warning: 
-lcairo-gobject: 'linker' input unused [-Wunused-command-line-argument]-lpangomm-1.4: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lcairo-gobject: 'linker' input unused [-Wunused-command-line-argument]clang
: : warning: clangwarning: : -latkmm-1.6: 'linker' input unused [-Wunused-command-line-argument]warning: 
-lgio-2.0: 'linker' input unused [-Wunused-command-line-argument]
-lgio-2.0: 'linker' input unused [-Wunused-command-line-argument]

clangclang: : warning: warning: -lpangomm-1.4: 'linker' input unused [-Wunused-command-line-argument]-lpangomm-1.4: 'linker' input unused [-Wunused-command-line-argument]

clangclang: : warning: warning: -lglibmm-2.4: 'linker' input unused [-Wunused-command-line-argument]-lglibmm-2.4: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lcairomm-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lsigc-2.0: 'linker' input unused [-Wunused-command-line-argument]clang: warning: -lgdkmm-3.0: 'linker' input unused [-Wunused-command-line-argument]
clang: 
clang
: warning: -lglibmm-2.4: 'linker' input unused [-Wunused-command-line-argument]
clang: clangwarning: : -lpangocairo-1.0: 'linker' input unused [-Wunused-command-line-argument]warning: 
-lcairomm-1.0: 'linker' input unused [-Wunused-command-line-argument]
clangwarning: clang: warning: -lcairomm-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lsigc-2.0: 'linker' input unused [-Wunused-command-line-argument]clang: warning: -lpango-1.0: 'linker' input unused [-Wunused-command-line-argument]-lgiomm-2.4: 'linker' input unused [-Wunused-command-line-argument]

clang: warning: -lharfbuzz: 'linker' input unused [-Wunused-command-line-argument]
clang: clangwarning: : -lgtk-3: 'linker' input unused [-Wunused-command-line-argument]warning: 
-lcairo: 'linker' input unused [-Wunused-command-line-argument]
clangclang: : warning: warning: -lgdk-3: 'linker' input unused [-Wunused-command-line-argument]-lgdk_pixbuf-2.0: 'linker' input unused [-Wunused-command-line-argument]

clangclang: : warning: warning: -latk-1.0: 'linker' input unused [-Wunused-command-line-argument]-lgobject-2.0: 'linker' input unused [-Wunused-command-line-argument]

clangclang: : warning: warning: -lcairo-gobject: 'linker' input unused [-Wunused-command-line-argument]-lglib-2.0: 'linker' input unused [-Wunused-command-line-argument]

clangclang: : warning: warning: -lgio-2.0: 'linker' input unused [-Wunused-command-line-argument]-lintl: 'linker' input unused [-Wunused-command-line-argument]

clang: warning: -lpangomm-1.4: 'linker' input unused [-Wunused-command-line-argument]
clang: : warning: 
clang: warning: -lpangocairo-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lpango-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lharfbuzz: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lcairo: 'linker' input unused [-Wunused-command-line-argument]
clangwarning: -lsigc-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lpangocairo-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lpango-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lharfbuzz: 'linker' input unused [-Wunused-command-line-argument]
: clang: warning: -lcairo: 'linker' input unused [-Wunused-command-line-argument]
clangwarning: : warning: -lgdk_pixbuf-2.0: 'linker' input unused [-Wunused-command-line-argument]-lglibmm-2.4: 'linker' input unused [-Wunused-command-line-argument]
-lgdk_pixbuf-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgobject-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lglib-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lintl: 'linker' input unused [-Wunused-command-line-argument]

clang: warning: clang-lgobject-2.0: 'linker' input unused [-Wunused-command-line-argument]: 
warning: -lcairomm-1.0: 'linker' input unused [-Wunused-command-line-argument]
clangclang: : warning: warning: -lglib-2.0: 'linker' input unused [-Wunused-command-line-argument]-lsigc-2.0: 'linker' input unused [-Wunused-command-line-argument]

clangclang: : warning: warning: -lintl: 'linker' input unused [-Wunused-command-line-argument]-lpangocairo-1.0: 'linker' input unused [-Wunused-command-line-argument]

clang: warning: -lpango-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lharfbuzz: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lcairo: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgdk_pixbuf-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgobject-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lglib-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lintl: 'linker' input unused [-Wunused-command-line-argument]
clang: clangwarning: : clangclang: argument unused during compilation: '-L/opt/local/lib' [-Wunused-command-line-argument]warning: 
warning: argument unused during compilation: '-L/opt/local/lib' [-Wunused-command-line-argument]
argument unused during compilation: '-L/opt/local/lib' [-Wunused-command-line-argument]
: warning: argument unused during compilation: '-L/opt/local/lib' [-Wunused-command-line-argument]
warning: warning: unknown warning option '-Wno-catch-value'; did you mean '-Wno-unused-value'? [-Wunknown-warning-option]warning: warning: 
unknown warning option '-Wno-catch-value'; did you mean '-Wno-unused-value'? [-Wunknown-warning-option]
unknown warning option '-Wno-catch-value'; did you mean '-Wno-unused-value'? [-Wunknown-warning-option]
unknown warning option '-Wno-catch-value'; did you mean '-Wno-unused-value'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/cxx/usr/bin/clang++ -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -stdlib=libc++ -g -DFLATPAK=0 -std=c++17 -Wall -pipe -Wno-deprecated-declarations -Wno-parentheses  -Wno-catch-value -Wno-return-type -c Base.cc \
    `pkg-config --cflags --libs gtkmm-3.0 glibmm-2.4 giomm-2.4`
/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/cxx/usr/bin/clang++ -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -stdlib=libc++ -g -DFLATPAK=0 -std=c++17 -Wall -pipe -Wno-deprecated-declarations -Wno-parentheses  -Wno-catch-value -Wno-return-type -c GUI/Elements/ChildWindows/ChildWindow.cc \
    `pkg-config --cflags --libs gtkmm-3.0`
clang: clang: warning: -lgtkmm-3.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -latkmm-1.6: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgdkmm-3.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgtk-3: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: warning: -lgdk-3: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -latk-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lcairo-gobject: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lpangomm-1.4: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lcairomm-1.0: 'linker' input unused [-Wunused-command-line-argument]-lgtkmm-3.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lpangocairo-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lpango-1.0: 'linker' input unused [-Wunused-command-line-argument]

clang: warning: -lharfbuzz: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lcairo: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgdk_pixbuf-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: clangwarning: -lgiomm-2.4: 'linker' input unused [-Wunused-command-line-argument]: 
warning: clang: -latkmm-1.6: 'linker' input unused [-Wunused-command-line-argument]warning: -lgio-2.0: 'linker' input unused [-Wunused-command-line-argument]

clang: warning: clang-lglibmm-2.4: 'linker' input unused [-Wunused-command-line-argument]
: clangwarning: : -lgdkmm-3.0: 'linker' input unused [-Wunused-command-line-argument]warning: 
clang-lgobject-2.0: 'linker' input unused [-Wunused-command-line-argument]
: warning: -lgiomm-2.4: 'linker' input unused [-Wunused-command-line-argument]clang
: warning: -lglib-2.0: 'linker' input unused [-Wunused-command-line-argument]clang
: warning: clang-lgtk-3: 'linker' input unused [-Wunused-command-line-argument]: 
warning: -lintl: 'linker' input unused [-Wunused-command-line-argument]clang: warning: -lgdk-3: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -latk-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: 
-lcairo-gobject: 'linker' input unused [-Wunused-command-line-argument]
clangclang: : warning: warning: -lsigc-2.0: 'linker' input unused [-Wunused-command-line-argument]-lgio-2.0: 'linker' input unused [-Wunused-command-line-argument]

clang: warning: -lpangomm-1.4: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lglibmm-2.4: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lcairomm-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lsigc-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lpangocairo-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lpango-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lharfbuzz: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lcairo: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgdk_pixbuf-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgobject-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lglib-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lintl: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/opt/local/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/opt/local/lib' [-Wunused-command-line-argument]
warning: unknown warning option '-Wno-catch-value'; did you mean '-Wno-unused-value'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-catch-value'; did you mean '-Wno-unused-value'? [-Wunknown-warning-option]
1 warning generated.
/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/cxx/usr/bin/clang++ -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -stdlib=libc++ -g -DFLATPAK=0 -std=c++17 -Wall -pipe -Wno-deprecated-declarations -Wno-parentheses  -Wno-catch-value -Wno-return-type -c \
    GUI/Elements/ChildWindows/ChildWindows.cc \
    `pkg-config --cflags --libs gtkmm-3.0`
clang: warning: -lgtkmm-3.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -latkmm-1.6: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgdkmm-3.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgiomm-2.4: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgtk-3: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgdk-3: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -latk-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lcairo-gobject: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgio-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lpangomm-1.4: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lglibmm-2.4: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lcairomm-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lsigc-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lpangocairo-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lpango-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lharfbuzz: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lcairo: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgdk_pixbuf-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgobject-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lglib-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lintl: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/opt/local/lib' [-Wunused-command-line-argument]
warning: unknown warning option '-Wno-catch-value'; did you mean '-Wno-unused-value'? [-Wunknown-warning-option]
1 warning generated.
/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/cxx/usr/bin/clang++ -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -stdlib=libc++ -g -DFLATPAK=0 -std=c++17 -Wall -pipe -Wno-deprecated-declarations -Wno-parentheses  -Wno-catch-value -Wno-return-type -c -Wno-unused-variable \
    Configuration/Configuration.cc \
    `pkg-config --cflags --libs glibmm-2.4 giomm-2.4`   
clang: warning: -lgiomm-2.4: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgio-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lglibmm-2.4: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgobject-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lglib-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lintl: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lsigc-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/opt/local/lib' [-Wunused-command-line-argument]
warning: unknown warning option '-Wno-catch-value'; did you mean '-Wno-unused-value'? [-Wunknown-warning-option]
Configuration/Configuration.cc:325:10: warning: returning address of local temporary object [-Wreturn-stack-address]
  return get_str(setting_name).c_str(); 
         ^~~~~~~~~~~~~~~~~~~~~
In file included from GUI/Elements/ChildWindows/ChildWindow.cc:78:
In file included from GUI/Elements/ChildWindows/../Playlists/Playlists.h:75:
GUI/Elements/ChildWindows/../Playlists/Playlist.h:243:10: warning: 'on_drag_end' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    void on_drag_end
         ^
/opt/local/include/gtkmm-3.0/gtkmm/widget.h:472:16: note: overridden virtual function is here
  virtual void on_drag_end(const Glib::RefPtr<Gdk::DragContext>& context);
               ^
In file included from Base.cc:80:
In file included from ./GUI/Elements/Playlists/Playlists.h:75:
./GUI/Elements/Playlists/Playlist.h:243:10: warning: 'on_drag_end' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    void on_drag_end
         ^
/opt/local/include/gtkmm-3.0/gtkmm/widget.h:472:16: note: overridden virtual function is here
  virtual void on_drag_end(const Glib::RefPtr<Gdk::DragContext>& context);
               ^
In file included from Base.cc:88:
./Metadata/Metadata.h:284:28: error: 'auto' not allowed in function prototype
    void Remove_Duplicates(auto tracks, auto& single_tracks, 
                           ^~~~
./Metadata/Metadata.h:284:41: error: 'auto' not allowed in function prototype
    void Remove_Duplicates(auto tracks, auto& single_tracks, 
                                        ^~~~
./Metadata/Metadata.h:285:28: error: 'auto' not allowed in function prototype
                           auto& external_cue_tracks_tracks,
                           ^~~~
./Metadata/Metadata.h:286:28: error: 'auto' not allowed in function prototype
                           auto& embedded_cue_tracks_tracks, int size);
                           ^~~~
./Metadata/Metadata.h:289:8: error: 'auto' not allowed in function prototype
      (auto tracks, auto& single_tracks, auto& external_cue_tracks_tracks);
       ^~~~
./Metadata/Metadata.h:289:21: error: 'auto' not allowed in function prototype
      (auto tracks, auto& single_tracks, auto& external_cue_tracks_tracks);
                    ^~~~
./Metadata/Metadata.h:289:42: error: 'auto' not allowed in function prototype
      (auto tracks, auto& single_tracks, auto& external_cue_tracks_tracks);
                                         ^~~~
2 warnings generated.
/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/cxx/usr/bin/clang++ -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -stdlib=libc++ -g -DFLATPAK=0 -std=c++17 -Wall -pipe -Wno-deprecated-declarations -Wno-parentheses  -Wno-catch-value -Wno-return-type -c \
    GUI/Elements/ConfigurationGUIs/ConfigurationGUI.cc \
    `pkg-config --cflags --libs gtkmm-3.0` -lstdc++fs
2 warnings and 7 errors generated.
make: *** [Base.o] Error 1
make: *** Waiting for unfinished jobs....
clang: warning: -lgtkmm-3.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -latkmm-1.6: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgdkmm-3.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgiomm-2.4: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgtk-3: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgdk-3: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -latk-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lcairo-gobject: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgio-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lpangomm-1.4: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lglibmm-2.4: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lcairomm-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lsigc-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lpangocairo-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lpango-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lharfbuzz: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lcairo: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgdk_pixbuf-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lgobject-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lglib-2.0: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lintl: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lstdc++fs: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/opt/local/lib' [-Wunused-command-line-argument]
warning: unknown warning option '-Wno-catch-value'; did you mean '-Wno-unused-value'? [-Wunknown-warning-option]
1 warning generated.
2 warnings generated.
1 warning generated.
make: Leaving directory `/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/OMP-cb13874318bbf6d5909b649c9ddbfe79cc0a1df7'
Command failed:  cd "/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/OMP-cb13874318bbf6d5909b649c9ddbfe79cc0a1df7" && /usr/bin/make -j4 -w all CC="/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/cc/usr/bin/clang" CXX="/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/cxx/usr/bin/clang++" OBJC="/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/objc/usr/bin/clang" OBJCXX="/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_OMP/OMP/work/compwrap/objcxx/usr/bin/clang++" INSTALL="/usr/bin/install -c" 
Exit code: 2
Error: Failed to build OMP: command execution failed
TheWiseNoob commented 5 months ago

Thanks for your interest, but I no longer support OMP. I'm currently working on a remake in this repo using GTK4 and Adwaita. The remake is currently useless and probably won't be usable for a while.