rapidjson icon indicating copy to clipboard operation
rapidjson copied to clipboard

Error:/rapidjson/document.h:2334:15: error: expected unqualified-id before ‘bool’

Open tigerdhl opened this issue 2 years ago • 4 comments

I used rapidjson in linux, and this error happened while I do cmake, what is wrong? /rapidjson/document.h:2334:15: error: expected unqualified-id before ‘bool’ bool Bool(bool b) { new (stack_.template Push<ValueType>()) ValueType(b); return true; }

tigerdhl avatar Jan 22 '24 02:01 tigerdhl

Can you assign this to me?

VanshikaNavya avatar Feb 02 '24 19:02 VanshikaNavya

Same problem form me But not sure whats wrong

PanterSoft avatar Apr 04 '24 09:04 PanterSoft

irreproducible at my env. please append more detail about your error, like platform, distro, compiler version.

pagict avatar Apr 07 '24 09:04 pagict

For me the error got Solved by omitting X11 capabilitis. Which meant Removing the X11 Header files.

PanterSoft avatar Apr 07 '24 19:04 PanterSoft