lundi 14 avril 2014

syntax error for typedef


Vote count:

0




I am faced with the following syntax error whle building a 3rd party lib



error C2144: syntax error : 'int' should be preceded by ';'


for the following typedef declaration



typedef SO2Group<double> SO2 EIGEN_DEPRECATED;


The syntax is indeed not what I am familar with, however similar declartion have been found on multiple files of the project so I do not believe its a typo.


Is the above typedef declaration legal and how should I go about fixing the error?


thanks



asked 30 secs ago

zen

18





Aucun commentaire:

Enregistrer un commentaire