Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. make
  2.  
  3. Surface.cpp: In member function 'void ilixi::Surface::setGeometry(int, int, int, int)':
  4. Surface.cpp:157:44: error: in C++98 'r' must be initialized by constructor, not by '{...}'
  5. DFBRectangle r = { x, y, width, height };
  6. ^
  7. Surface.cpp: In member function 'void ilixi::Surface::flip(const ilixi::Rectangle&)':
  8. Surface.cpp:223:53: error: in C++98 'rect' must be initialized by constructor, not by '{...}'
  9. DFBRectangle rect = { 0, 0, w, r.y1 };
  10. ^
  11. Surface.cpp:229:68: error: in C++98 'rect' must be initialized by constructor, not by '{...}'
  12. DFBRectangle rect = { 0, r.y2 + 1, w, h - r.y2 - 1 };
  13. ^
  14. Surface.cpp:235:70: error: in C++98 'rect' must be initialized by constructor, not by '{...}'
  15. DFBRectangle rect = { 0, r.y1, r.x1, r.y2 - r.y1 + 1 };
  16. ^
  17. Surface.cpp:241:85: error: in C++98 'rect' must be initialized by constructor, not by '{...}'
  18. DFBRectangle rect = { r.x2 + 1, r.y1, w - r.x2 - 1, r.y2 - r.y1 + 1 };
  19. ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement