Skip to content

Conversation

SimonCahill
Copy link

The headers provided are generally missing include guards.
This led to many compiler issues in a few projects.

I've added basic include guards, so this doesn't happen in future and ugly hacks like this aren't needed:

#ifndef GZIP_HPP_INCLUDED
#define GZIP_HPP_INCLUDED
#include "gzip/decompress.hpp"
#endif

Simon Cahill and others added 4 commits September 7, 2020 16:16
Fixed the Makefile generator so it can actually be used in Cmake projects without ruining everything and building tests which I don't need.

To use:

```
add_subdirectory(gzip-hpp)

target_link_libraries(
    mybin

    gzip-hpp
)
```
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.

1 participant