MySchoolEngine / GLEngine

The goal of this repository is to build rendering focused game engine. Feel free to join me and extend this project.
https://myschoolengine.github.io/GLEngine-Documentation/
Other
21 stars 1 forks source link

Avoid __FILENAME__ #163

Closed RohacekD closed 2 years ago

RohacekD commented 3 years ago

Describe the bug GCC randomly crashes on this implementation. Maybe I can move to C++20 and std::source_location

To Reproduce Steps to reproduce the behavior:

  1. premake5 gmake2
  2. make
  3. ranodm crash

Expected behavior Compile 100% times correctly

Desktop (please complete the following information):

RohacekD commented 2 years ago

This bugs me a lot, I will try to migrate to C++20 as nothing really limits me to any standard.