Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Linux & gcc bug #42

@iryont

Description

@iryont

In system.hpp during compilation we get this error:

/usr/local/include/infoware/system.hpp:32:4: error: expected identifier before numeric constant
   32 |    linux,
      |    ^~~~~
/usr/local/include/infoware/system.hpp:32:4: error: expected '}' before numeric constant

It probably happens because on Linux gcc defines "linux" pre-processor definition, so the easiest way for me to "fix" it was to #undef linux before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions