Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Collision with tiles position and sprite not aligning correctly
#4
Hi,

I've updated my install of mingw to mingw64 to last one available (13.2.0) but I when building I get many instances of this error:

Code:
src/Include/tweeny.h: In member function 'tweeny::tween<T>& tweeny::tween<T>::via(const int&, Fs ...)':
src/Include/tweeny.h:2315:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
2315 |        if (easing == "stepped") return via(easing::stepped, vs...);
     |            ~~~~~~~^~~~~~~~~~~~

It makes sense, the code is trying to compare an enumerated type with a string using the equal operator. So I cannot build it. What version of mingw are you using?
Reply


Messages In This Thread
RE: Collision with tiles position and sprite not aligning correctly - by megamarc - 09-04-2023, 03:44 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)