Skip to content

Instantly share code, notes, and snippets.

@cjcliffe
Created October 27, 2015 15:10
Show Gist options
  • Save cjcliffe/9b45d9e7aa460fc0103f to your computer and use it in GitHub Desktop.
Save cjcliffe/9b45d9e7aa460fc0103f to your computer and use it in GitHub Desktop.
```
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:586:5: warning: expression
with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
wxDECLARE_ANY_TYPE(wxDateTime, WXDLLIMPEXP_BASE)
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:560:5: note: expanded from
macro 'wxDECLARE_ANY_TYPE'
WX_DECLARE_ANY_VALUE_TYPE(wxAnyValueTypeImpl<CLS>) \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:167:25: note: expanded from
macro 'WX_DECLARE_ANY_VALUE_TYPE'
return wxTypeId(*sm_instance.get()) == wxTypeId(*otherType); \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/typeinfo.h:84:47: note: expanded
from macro 'wxTypeId'
#define wxTypeId(OBJ) wxTypeIdentifier(typeid(OBJ).name())
^
In file included from /Users/ton/CubicSDR/src/ui/UITestCanvas.cpp:1:
In file included from /Users/ton/CubicSDR/src/ui/UITestCanvas.h:3:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/glcanvas.h:18:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/app.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/event.h:21:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/cursor.h:60:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/osx/cursor.h:14:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/bitmap.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/colour.h:55:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/variant.h:401:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:611:5: warning: expression
with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
WX_DECLARE_ANY_VALUE_TYPE(wxAnyValueTypeImplVariantData)
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:167:25: note: expanded from
macro 'WX_DECLARE_ANY_VALUE_TYPE'
return wxTypeId(*sm_instance.get()) == wxTypeId(*otherType); \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/typeinfo.h:84:47: note: expanded
from macro 'wxTypeId'
#define wxTypeId(OBJ) wxTypeIdentifier(typeid(OBJ).name())
^
10 warnings generated.
[ 98%] Building CXX object CMakeFiles/CubicSDR.dir/src/ui/UITestContext.cpp.o
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.cpp:1:
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.h:3:
In file included from /Users/ton/CubicSDR/src/visual/PrimaryGLContext.h:3:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/glcanvas.h:18:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/app.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/event.h:21:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/cursor.h:60:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/osx/cursor.h:14:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/bitmap.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/colour.h:55:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/variant.h:401:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:336:5: warning: expression
with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
WX_DECLARE_ANY_VALUE_TYPE(wxAnyValueTypeImpl<T>)
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:167:25: note: expanded from
macro 'WX_DECLARE_ANY_VALUE_TYPE'
return wxTypeId(*sm_instance.get()) == wxTypeId(*otherType); \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/typeinfo.h:84:47: note: expanded
from macro 'wxTypeId'
#define wxTypeId(OBJ) wxTypeIdentifier(typeid(OBJ).name())
^
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.cpp:1:
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.h:3:
In file included from /Users/ton/CubicSDR/src/visual/PrimaryGLContext.h:3:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/glcanvas.h:18:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/app.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/event.h:21:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/cursor.h:60:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/osx/cursor.h:14:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/bitmap.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/colour.h:55:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/variant.h:401:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:413:5: warning: expression
with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
WX_DECLARE_ANY_VALUE_TYPE(wxAnyValueTypeImplInt)
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:167:25: note: expanded from
macro 'WX_DECLARE_ANY_VALUE_TYPE'
return wxTypeId(*sm_instance.get()) == wxTypeId(*otherType); \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/typeinfo.h:84:47: note: expanded
from macro 'wxTypeId'
#define wxTypeId(OBJ) wxTypeIdentifier(typeid(OBJ).name())
^
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.cpp:1:
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.h:3:
In file included from /Users/ton/CubicSDR/src/visual/PrimaryGLContext.h:3:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/glcanvas.h:18:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/app.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/event.h:21:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/cursor.h:60:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/osx/cursor.h:14:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/bitmap.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/colour.h:55:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/variant.h:401:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:428:5: warning: expression
with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
WX_DECLARE_ANY_VALUE_TYPE(wxAnyValueTypeImplUint)
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:167:25: note: expanded from
macro 'WX_DECLARE_ANY_VALUE_TYPE'
return wxTypeId(*sm_instance.get()) == wxTypeId(*otherType); \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/typeinfo.h:84:47: note: expanded
from macro 'wxTypeId'
#define wxTypeId(OBJ) wxTypeIdentifier(typeid(OBJ).name())
^
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.cpp:1:
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.h:3:
In file included from /Users/ton/CubicSDR/src/visual/PrimaryGLContext.h:3:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/glcanvas.h:18:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/app.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/event.h:21:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/cursor.h:60:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/osx/cursor.h:14:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/bitmap.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/colour.h:55:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/variant.h:401:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:502:1: warning: expression
with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
WX_ANY_DEFINE_CONVERTIBLE_TYPE_BASE(wxString, wxString, wxAnyConvertString)
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:489:68: note: expanded from
macro 'WX_ANY_DEFINE_CONVERTIBLE_TYPE_BASE'
#define WX_ANY_DEFINE_CONVERTIBLE_TYPE_BASE(T, TYPENAME, CONVFUNC) \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:465:5: note: expanded from
macro '\
_WX_ANY_DEFINE_CONVERTIBLE_TYPE'
WX_DECLARE_ANY_VALUE_TYPE(wxAnyValueTypeImpl##TYPENAME) \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:167:25: note: expanded from
macro 'WX_DECLARE_ANY_VALUE_TYPE'
return wxTypeId(*sm_instance.get()) == wxTypeId(*otherType); \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/typeinfo.h:84:47: note: expanded
from macro 'wxTypeId'
#define wxTypeId(OBJ) wxTypeIdentifier(typeid(OBJ).name())
^
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.cpp:1:
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.h:3:
In file included from /Users/ton/CubicSDR/src/visual/PrimaryGLContext.h:3:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/glcanvas.h:18:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/app.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/event.h:21:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/cursor.h:60:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/osx/cursor.h:14:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/bitmap.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/colour.h:55:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/variant.h:401:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:503:1: warning: expression
with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
WX_ANY_DEFINE_CONVERTIBLE_TYPE(const char*, ConstCharPtr,
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:486:67: note: expanded from
macro 'WX_ANY_DEFINE_CONVERTIBLE_TYPE'
#define WX_ANY_DEFINE_CONVERTIBLE_TYPE(T, TYPENAME, CONVFUNC, BT) \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:465:5: note: expanded from
macro '\
_WX_ANY_DEFINE_CONVERTIBLE_TYPE'
WX_DECLARE_ANY_VALUE_TYPE(wxAnyValueTypeImpl##TYPENAME) \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:167:25: note: expanded from
macro 'WX_DECLARE_ANY_VALUE_TYPE'
return wxTypeId(*sm_instance.get()) == wxTypeId(*otherType); \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/typeinfo.h:84:47: note: expanded
from macro 'wxTypeId'
#define wxTypeId(OBJ) wxTypeIdentifier(typeid(OBJ).name())
^
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.cpp:1:
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.h:3:
In file included from /Users/ton/CubicSDR/src/visual/PrimaryGLContext.h:3:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/glcanvas.h:18:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/app.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/event.h:21:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/cursor.h:60:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/osx/cursor.h:14:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/bitmap.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/colour.h:55:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/variant.h:401:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:505:1: warning: expression
with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
WX_ANY_DEFINE_CONVERTIBLE_TYPE(const wchar_t*, ConstWchar_tPtr,
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:486:67: note: expanded from
macro 'WX_ANY_DEFINE_CONVERTIBLE_TYPE'
#define WX_ANY_DEFINE_CONVERTIBLE_TYPE(T, TYPENAME, CONVFUNC, BT) \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:465:5: note: expanded from
macro '\
_WX_ANY_DEFINE_CONVERTIBLE_TYPE'
WX_DECLARE_ANY_VALUE_TYPE(wxAnyValueTypeImpl##TYPENAME) \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:167:25: note: expanded from
macro 'WX_DECLARE_ANY_VALUE_TYPE'
return wxTypeId(*sm_instance.get()) == wxTypeId(*otherType); \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/typeinfo.h:84:47: note: expanded
from macro 'wxTypeId'
#define wxTypeId(OBJ) wxTypeIdentifier(typeid(OBJ).name())
^
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.cpp:1:
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.h:3:
In file included from /Users/ton/CubicSDR/src/visual/PrimaryGLContext.h:3:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/glcanvas.h:18:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/app.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/event.h:21:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/cursor.h:60:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/osx/cursor.h:14:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/bitmap.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/colour.h:55:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/variant.h:401:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:515:5: warning: expression
with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
WX_DECLARE_ANY_VALUE_TYPE(wxAnyValueTypeImpl<bool>)
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:167:25: note: expanded from
macro 'WX_DECLARE_ANY_VALUE_TYPE'
return wxTypeId(*sm_instance.get()) == wxTypeId(*otherType); \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/typeinfo.h:84:47: note: expanded
from macro 'wxTypeId'
#define wxTypeId(OBJ) wxTypeIdentifier(typeid(OBJ).name())
^
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.cpp:1:
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.h:3:
In file included from /Users/ton/CubicSDR/src/visual/PrimaryGLContext.h:3:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/glcanvas.h:18:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/app.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/event.h:21:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/cursor.h:60:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/osx/cursor.h:14:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/bitmap.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/colour.h:55:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/variant.h:401:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:532:5: warning: expression
with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
WX_DECLARE_ANY_VALUE_TYPE(wxAnyValueTypeImplDouble)
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:167:25: note: expanded from
macro 'WX_DECLARE_ANY_VALUE_TYPE'
return wxTypeId(*sm_instance.get()) == wxTypeId(*otherType); \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/typeinfo.h:84:47: note: expanded
from macro 'wxTypeId'
#define wxTypeId(OBJ) wxTypeIdentifier(typeid(OBJ).name())
^
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.cpp:1:
In file included from /Users/ton/CubicSDR/src/ui/UITestContext.h:3:
In file included from /Users/ton/CubicSDR/src/visual/PrimaryGLContext.h:3:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/glcanvas.h:18:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/app.h:19:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/event.h:21:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/cursor.h:60:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/osx/cursor.h:14:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/bitmap.h:20:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/colour.h:55:
In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/variant.h:401:
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:586:5: warning: expression
with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
wxDECLARE_ANY_TYPE(wxDateTime, WXDLLIMPEXP_BASE)
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:560:5: note: expanded from
macro 'wxDECLARE_ANY_TYPE'
WX_DECLARE_ANY_VALUE_TYPE(wxAnyValueTypeImpl<CLS>) \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:167:25: note: expanded from
macro 'WX_DECLARE_ANY_VALUE_TYPE'
return wxTypeId(*sm_instance.get()) == wxTypeId(*otherType); \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/typeinfo.h:84:47: note: expanded
from macro 'wxTypeId'
#define wxTypeId(OBJ) wxTypeIdentifier(typeid(OBJ).name())
```
Just built from the latest source and CubicSDR crashed again on first launch. I have this very regularly lately.
```
mir_sdr_usb_USB DLL: Revision 1.8.0
mir_sdr_2500_Init: fnaddr = 4
mir_sdr_2500_Init: adjusting squelch trim 0x1, rx gating enable 1, tx_trim 0, reg2 = 0x4801
mir_sdr_SetFs: Sample Freq requested 2000000.000000
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=2000000.0+0.0Hz=2000000.0Hz FsToggle->1
mir_sdr_SetRf: f->100928538.000Hz (int=21 frac=788 afc=89b) fSynth:3229713216.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=100928538.0+0.0+0.0Hz+0.0Hz=100928538.0Hz RfToggle->1
mir_sdr_SetGr: GR->40[16,24,0,0] gRset->0x210 DCCALmode=4 DCCALspd=1 GrToggle->1
setToggleStates: initialising sampNum=0x00018875, gainSetting=0x210, FsToggle=0, RfToggle=0, GrToggle=1
setToggleStates: initialising Fs=2000000.000, Rf=100928538.000, Gr=40
mir_sdr_SetDcMode: DCCAL: mode->1 speedup->1
mir_sdr_SetGrParams: gRmin->0 lnaGrThresh->24
[DEBUG] AGC: Gain reduction changed from 40 to 39
mir_sdr_SetGr: GR->39[15,24,0,0] gRset->0x20F DCCALmode=1 DCCALspd=1 GrToggle->0
[1] 1682 segmentation fault ./CubicSDR
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment