Skip to content

Instantly share code, notes, and snippets.

@mikemorris
Created August 21, 2014 01:14
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 mikemorris/96d3bce5624ba44ad224 to your computer and use it in GitHub Desktop.
Save mikemorris/96d3bce5624ba44ad224 to your computer and use it in GitHub Desktop.
In file included from ../src/tile_worker.cpp:4:
In file included from ../vendor/mapbox-gl-native/include/mbgl/map/map.hpp:5:
In file included from ../vendor/mapbox-gl-native/include/mbgl/renderer/painter.hpp:10:
../vendor/mapbox-gl-native/include/mbgl/style/types.hpp:184:5: error: expected
'}'
None,
^
/usr/include/X11/X.h:115:30: note: expanded from macro 'None'
#define None 0L /* universal null resource or null atom */
^
../vendor/mapbox-gl-native/include/mbgl/style/types.hpp:183:40: note: to match
this '{'
enum class TextTransformType : uint8_t {
^
../vendor/mapbox-gl-native/include/mbgl/style/types.hpp:190:26: error: expected
unqualified-id
{ TextTransformType::None, "none" },
^
/usr/include/X11/X.h:115:30: note: expanded from macro 'None'
#define None 0L /* universal null resource or null atom */
^
../vendor/mapbox-gl-native/include/mbgl/util/enum.hpp:48:62: note: expanded from
macro 'MBGL_DEFINE_ENUM_CLASS'
const constexpr ::mbgl::EnumValue<type> type##_names[] = strings; \
^
In file included from ../src/tile_worker.cpp:4:
In file included from ../vendor/mapbox-gl-native/include/mbgl/map/map.hpp:5:
In file included from ../vendor/mapbox-gl-native/include/mbgl/renderer/painter.hpp:10:
../vendor/mapbox-gl-native/include/mbgl/style/types.hpp:191:26: error: no member
named 'Uppercase' in 'mbgl::TextTransformType'
{ TextTransformType::Uppercase, "uppercase" },
~~~~~~~~~~~~~~~~~~~^
../vendor/mapbox-gl-native/include/mbgl/util/enum.hpp:48:62: note: expanded from
macro 'MBGL_DEFINE_ENUM_CLASS'
const constexpr ::mbgl::EnumValue<type> type##_names[] = strings; \
^
In file included from ../src/tile_worker.cpp:4:
In file included from ../vendor/mapbox-gl-native/include/mbgl/map/map.hpp:5:
In file included from ../vendor/mapbox-gl-native/include/mbgl/renderer/painter.hpp:10:
../vendor/mapbox-gl-native/include/mbgl/style/types.hpp:192:26: error: no member
named 'Lowercase' in 'mbgl::TextTransformType'
{ TextTransformType::Lowercase, "lowercase" },
~~~~~~~~~~~~~~~~~~~^
../vendor/mapbox-gl-native/include/mbgl/util/enum.hpp:48:62: note: expanded from
macro 'MBGL_DEFINE_ENUM_CLASS'
const constexpr ::mbgl::EnumValue<type> type##_names[] = strings; \
^
In file included from ../src/tile_worker.cpp:4:
In file included from ../vendor/mapbox-gl-native/include/mbgl/map/map.hpp:5:
In file included from ../vendor/mapbox-gl-native/include/mbgl/renderer/painter.hpp:10:
../vendor/mapbox-gl-native/include/mbgl/style/types.hpp:189:1: error: invalid
application of 'sizeof' to an incomplete type 'const
::mbgl::EnumValue<TextTransformType> const[]'
MBGL_DEFINE_ENUM_CLASS(TextTransformTypeClass, TextTransformType, {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../vendor/mapbox-gl-native/include/mbgl/util/enum.hpp:49:57: note: expanded from
macro 'MBGL_DEFINE_ENUM_CLASS'
using name = ::mbgl::Enum<type, type##_names, sizeof(type##_names) / siz...
^~~~~~~~~~~~~~
In file included from ../src/tile_worker.cpp:4:
In file included from ../vendor/mapbox-gl-native/include/mbgl/map/map.hpp:5:
In file included from ../vendor/mapbox-gl-native/include/mbgl/renderer/painter.hpp:10:
../vendor/mapbox-gl-native/include/mbgl/style/types.hpp:189:24: error: use of
undeclared identifier 'TextTransformTypeClass'
MBGL_DEFINE_ENUM_CLASS(TextTransformTypeClass, TextTransformType, {
^
../vendor/mapbox-gl-native/include/mbgl/util/enum.hpp:50:78: note: expanded from
macro 'MBGL_DEFINE_ENUM_CLASS'
...operator<<(std::ostream& os, type t) { return os << name(t).str(); }
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment