Skip to content

Conversation

@brc7
Copy link

@brc7 brc7 commented Jul 21, 2020

Problem: Code does not compile under MacOS with g++9, and probably other platforms / configurations too, with error:
include/bitArray.h:13:21: error: 'uint' has not been declared 13 | void SetBit(uint k); (and many other similar errors)

Reason: "uint" is a non-standard datatype that isn't defined by many compilers / systems. It usually means "unsigned int" (which is a standard datatype).

Fix: Replace "uint" with "unsigned int"

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