Skip to content

Instantly share code, notes, and snippets.

View BradNeuberg's full-sized avatar

Brad Neuberg BradNeuberg

View GitHub Profile
Scanning dependencies of target segment
[ 50%] Building CXX object CMakeFiles/segment.dir/segment_py.cpp.o
In file included from /Users/bradneuberg/dev/selective_search_py_port/segment_py.cpp:5:
In file included from /Users/bradneuberg/dev/selective_search_py_port/segment/segment-image.h:25:
In file included from /Users/bradneuberg/dev/selective_search_py_port/segment/filter.h:28:
/Users/bradneuberg/dev/selective_search_py_port/segment/convolve.h:34:13: warning:
implicit conversion loses integer precision: 'size_type'
(aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int len = mask.size();
~~~ ^~~~~~~~~~~
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.3
# compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
CXX_FLAGS = -fPIC -O3 -std=c++11 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused-local-typedefs -fPIC -I/Users/bradneuberg/dev/selective_search_py_port/segment -arch x86_64
CXX_DEFINES = -Dsegment_EXPORTS
from enum import Enum
class JSKeycodes(Enum):
# Physical keys that can be used, appropriate for JavaScript keydown listeners:
# http://gcctech.org/csc/javascript/javascript_keycodes.htm
LEFT_ARROW = 37
UP_ARROW = 38
RIGHT_ARROW = 39