Skip to content

Instantly share code, notes, and snippets.

Created May 16, 2016 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1bee9ca322b09f8236904759ab167930 to your computer and use it in GitHub Desktop.
Save anonymous/1bee9ca322b09f8236904759ab167930 to your computer and use it in GitHub Desktop.
Build error for Carla from AUR.
g++ NativePlugin.cpp -Wall -Wextra -fPIC -pipe -DNDEBUG -O2 -ffast-math -mtune=generic -msse -mfpmath=sse -fvisibility=hidden -std=gnu++0x -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -I. -I.. -I../../includes -I../../libs -I../../utils -DWANT_NATIVE -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST -DVESTIGE_HEADER -DWANT_RTAUDIO -DWANT_FLUIDSYNTH -DWANT_LINUXSAMPLER -DWANT_OPENGL -DWANT_AUDIOFILE -DWANT_MIDIFILE -DWANT_ZYNADDSUBFX -DWANT_ZYNADDSUBFX_UI -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/qt4/QtCore -c -o NativePlugin.cpp.o
In file included from CarlaPluginInternal.hpp:30:0,
from NativePlugin.cpp:18:
../../utils/RtList.hpp: In static member function ‘static void* List<T>::operator new(size_t)’:
../../utils/RtList.hpp:33:49: warning: ‘operator new’ must not return NULL unless it is declared ‘throw()’ (or -fcheck-new is in effect)
static void* operator new (size_t) { return nullptr; } \
^
../../utils/RtList.hpp:374:5: note: in expansion of macro ‘LIST_DECLARATIONS’
LIST_DECLARATIONS(List)
^~~~~~~~~~~~~~~~~
../../utils/RtList.hpp: In static member function ‘static void* RtList<T>::operator new(size_t)’:
../../utils/RtList.hpp:33:49: warning: ‘operator new’ must not return NULL unless it is declared ‘throw()’ (or -fcheck-new is in effect)
static void* operator new (size_t) { return nullptr; } \
^
../../utils/RtList.hpp:524:5: note: in expansion of macro ‘LIST_DECLARATIONS’
LIST_DECLARATIONS(RtList)
^~~~~~~~~~~~~~~~~
../../utils/RtList.hpp: In static member function ‘static void* NonRtList<T>::operator new(size_t)’:
../../utils/RtList.hpp:33:49: warning: ‘operator new’ must not return NULL unless it is declared ‘throw()’ (or -fcheck-new is in effect)
static void* operator new (size_t) { return nullptr; } \
^
../../utils/RtList.hpp:554:5: note: in expansion of macro ‘LIST_DECLARATIONS’
LIST_DECLARATIONS(NonRtList)
^~~~~~~~~~~~~~~~~
../../utils/RtList.hpp: In static member function ‘static void* NonRtListNew<T>::operator new(size_t)’:
../../utils/RtList.hpp:33:49: warning: ‘operator new’ must not return NULL unless it is declared ‘throw()’ (or -fcheck-new is in effect)
static void* operator new (size_t) { return nullptr; } \
^
../../utils/RtList.hpp:584:5: note: in expansion of macro ‘LIST_DECLARATIONS’
LIST_DECLARATIONS(NonRtListNew)
^~~~~~~~~~~~~~~~~
NativePlugin.cpp: In member function ‘virtual void CarlaBackend::NativePlugin::process(float**, float**, uint32_t)’:
NativePlugin.cpp:1512:45: error: ‘rint’ is not a member of ‘std’
value = std::rint(value);
^~~
Makefile:63: recipe for target 'NativePlugin.cpp.o' failed
make[2]: *** [NativePlugin.cpp.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment