raysan5 / rres

A simple and easy-to-use file-format to package resources
MIT License
391 stars 34 forks source link

Fix a compilation issue for C++ #22

Closed Bigfoot71 closed 10 months ago

Bigfoot71 commented 10 months ago

This is a fix for problems encountered when compiling with g++ when including rres-raylib.h from a C++ source. See issues: https://github.com/raysan5/rres/issues/21 https://github.com/raysan5/rres/issues/18

raysan5 commented 10 months ago

@Bigfoot71 thanks for the review! I only tested rres with C so I understand there could be build warnings/issues with C++.

I'm merging those fixes but I think those issues should be probably addressed in some other way, like reviewing some data types...