Skip to content

Conversation

AeroStun
Copy link

Night session of const enforcing and changing C includes to C++ ones

Changing the C <ABC.h> format to the C++ <cABC>
changing typedefs to usings for increased readability
Error prone code let to one input
Proper C++ standard header name
Removed human redundancy
Put const wherever it can be useful without touching the function signatures
Also folded T v; v = u; to T v = u;
typedefs become usings
for loop now in range mode
incrementing range-for like pattern
Simpler to write a pure range for
Also, enforced const correctness
@AeroStun
Copy link
Author

How nice the SFML dependency can't build
I guess the travis misses the X11 Xrandr library

@HumbleDeer
Copy link
Collaborator

HumbleDeer commented Jan 14, 2018

I don't think it's a good idea to still add new dependencies. Is it possible without them? if not, I'll see if I can add them to Travis.
RandR is usually included in xorg-dev or libglu1-mesa-dev

@AeroStun
Copy link
Author

It's actually not a dependency we added ourselves, it's the last master version of SFML that requires it
Check this line of the travis log to see
Check this other github issue for a fix

@HumbleDeer
Copy link
Collaborator

Hmm. Okay.

@HumbleDeer
Copy link
Collaborator

If it's SFML then it could be possible to include it in our repository so it's not a system requirement but just included in the build.

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.

2 participants