svgpp and MS VS2015

31 views
Skip to first unread message

gosha

unread,
Sep 18, 2017, 12:01:00 PM9/18/17
to SVG++ library
Hi!

  Just created a new project using SVGPP in VS2015 Community Edition, and when trying to compile, got huge amount of claims about SVGPP_ON_VALUE(small) in enumerate_literal_values.inc. Saw a comment within source regarding possible errors under Windows, but have no idea how to fix it. Any suggestions?

gosha

svgpp

unread,
Sep 18, 2017, 3:24:49 PM9/18/17
to SVG++ library
Hi, 

Please send a fragment of errors output.

svgpp

unread,
Sep 18, 2017, 3:33:30 PM9/18/17
to SVG++ library
Oh, I see. Just #undef small after including Windows SDK headers like in this file https://github.com/svgpp/svgpp/blob/1ccbe78dd61e59b2d4e427d0ee26696f7c223182/src/demo/render/common.hpp#L22

gosha

unread,
Sep 20, 2017, 4:27:32 AM9/20/17
to SVG++ library
#undef small, along with #undef min and #undef max solves all issues
Reply all
Reply to author
Forward
0 new messages