Error: expected primary expression before '? C ++ token
I am working on a project to extract metadata from a document. As far as what I learned about this project , which is a method to automatically generate a table of contents, it made me install Xerces-C ++ (it installed perfectly). In the Read-Me.text of the project, he gave the following warning (I am using Ubuntu14.04 and gcc 4.8.2
):
It has been tested with gcc 3.3.5 on Debian, but should work with gcc 3.3.5 on other operating systems. Newer versions of gcc can give you some easily fixed compile-time warnings / errors. Despite this, the functionality of the code does not depend on the OS version and compiler.
When I tried to build the project, I was able to fix some warnings and errors, but I was unable to fix this error,
error: expected primary-expression before β?β token
iMaxSiblingMatches = iMaxSiblingMatches <? iSiblingMatches;
Where
iMaxSiblingMatches
and iSiblingMatches
are the int
types of data.
I have not seen this operator before and the compiler is also unable to identify it, is there something I am not seeing here?
source to share
No one has answered this question yet
See similar questions:
or similar: