Skip to content

Instantly share code, notes, and snippets.

Created May 29, 2012 18:25
Show Gist options
  • Save anonymous/07abfc962800d015be7a to your computer and use it in GitHub Desktop.
Save anonymous/07abfc962800d015be7a to your computer and use it in GitHub Desktop.
kFontHost_mac_coretext.cpp
SkStream_mac.cpp
SkTime_Unix.cpp
SkDebug_stdio.cpp
SkThread_none.cpp
SkBitmapProcState_opts_SSE2.cpp
SkBitmapProcState_opts_SSSE3.cpp
SkBlitRect_opts_SSE2.cpp
SkBlitRow_opts_SSE2.cpp
SkUtils_opts_SSE2.cpp
/Users/hub/source/mozilla/mozilla-central/gfx/skia/src/opts/SkBlitRect_opts_SSE2.cpp:120:14: warning: unused variable 'colorA' [-Wunused-variable]
unsigned colorA = SkGetPackedA32(color);
^
1 warning generated.
opts_check_SSE2.cpp
/Users/hub/source/mozilla/mozilla-central/gfx/skia/src/ports/SkFontHost_mac_coretext.cpp:810:28: error: non-constant-expression cannot be narrowed from type 'CGFloat' (aka 'double')
to 'SkScalar' (aka 'float') in initializer list [-Wc++11-narrowing]
const SkPoint trans = {SkFloatToScalar(vertOffset.width),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hub/source/mozilla/mozilla-central/gfx/skia/include/core/SkScalar.h:111:37: note: expanded from macro 'SkFloatToScalar'
#define SkFloatToScalar(n) (n)
^~~
/Users/hub/source/mozilla/mozilla-central/gfx/skia/src/ports/SkFontHost_mac_coretext.cpp:810:28: note: override this message by inserting an explicit cast
const SkPoint trans = {SkFloatToScalar(vertOffset.width),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hub/source/mozilla/mozilla-central/gfx/skia/include/core/SkScalar.h:111:37: note: expanded from macro 'SkFloatToScalar'
#define SkFloatToScalar(n) (n)
^~~
/Users/hub/source/mozilla/mozilla-central/gfx/skia/src/ports/SkFontHost_mac_coretext.cpp:811:28: error: non-constant-expression cannot be narrowed from type 'CGFloat' (aka 'double')
to 'SkScalar' (aka 'float') in initializer list [-Wc++11-narrowing]
SkFloatToScalar(vertOffset.height)};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hub/source/mozilla/mozilla-central/gfx/skia/include/core/SkScalar.h:111:37: note: expanded from macro 'SkFloatToScalar'
#define SkFloatToScalar(n) (n)
^~~
/Users/hub/source/mozilla/mozilla-central/gfx/skia/src/ports/SkFontHost_mac_coretext.cpp:811:28: note: override this message by inserting an explicit cast
SkFloatToScalar(vertOffset.height)};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hub/source/mozilla/mozilla-central/gfx/skia/include/core/SkScalar.h:111:37: note: expanded from macro 'SkFloatToScalar'
#define SkFloatToScalar(n) (n)
^~~
/Users/hub/source/mozilla/mozilla-central/gfx/skia/src/ports/SkFontHost_mac_coretext.cpp:1223:16: warning: unused variable 'isA8' [-Wunused-variable]
const bool isA8 = !isLCD && !isBW;
^
1 warning and 2 errors generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment