Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error #146

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open

compile error #146

wants to merge 31 commits into from

Conversation

caffeine22333
Copy link

io2d-master/io2d/src/../include/io2d.h:509:20:
inline double operator""_ubyte(unsigned long long value)
should be this:
inline double operator "" _ubyte(unsigned long long value)

cristianadam and others added 30 commits November 18, 2014 23:36
Doesn't compile. Has a few classes ported.
- Removed unused files
- Moved the examples back together in /tests/sample-draw.
  Done this because of interdependencies
- it was very early stages
- it is still part of the git history
- added cairo cmake build support
- added hello world example

Tested with Visual C++ 2015
…r functions to improve usability (removed origin argument, added default identity matrix value for matrix_2d arguments and made it so that the Mask Brush behaves similar to the source brush).
…sn't seem to have any use cases. Modified entrypoint.cpp to include Hello World code that is in the paper. Changed the default font size to 16, which required changes to ctors in display_surface, image_surface, and surface.
…_test -> Variable_templates_conditional_support_test.
…ly deal with variable template conditional support test.
…e, display_surface::desired_frame_rate, and display_surface::elapsed_draw_time.
…e slicing problem that existed with the previous simple_font_face design) and add support for glyphs and clusters (including adding outlines of text/glyphs to a path). Fixed issue with refresh_rate::fixed - the display_surface now internally uses nanoseconds rather than milliseconds or microseconds which fixes the problem where the accumulated elapsed time was updating slowly and sporadically because the elapsed time between calls to the message loop were often too small and thus ended up being truncated to zero by the duration_cast. Fixed two code analysis warnings in image_surface.cpp. Modified the variable template macro to use the correct value for _MSC_FULL_VER (note that IntelliSense shows an error for constexpr in the variable templates but that the pi-based variable templates actually compile and work fine in VS 2015 Update 2).
…on-default move assignment operators for font_resource_factory and glyph_run because libstdc++ (5.0) improperly implements the std::string move assignment operator (the bug is noted in the libstdc++ header file). Had to fix two improperly qualified type usages in io2d.h.
… correct font size. Minor change to the vcxproj to allow for a VS 2015 code map. Edited entrypoint.cpp to show the canonical "hello world" example. Edited the run-configure-with-* for GCC to use "-std=c++14" instead of "-std=c++1y" in response to issue cpp-io2d#32 (note: not yet tested by me).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants