On 05/14/2013 09:01 AM, Vincent van Ravesteijn wrote:


Op 14 mei 2013 14:45 schreef "Richard Heck" <rgh...@lyx.org <mailto:rgh...@lyx.org>> het volgende:
>
> On 05/13/2013 07:52 PM, Uwe Stöhr wrote:
>>
>> Hi Richard,
>>
>> I just checked out your latest changes and get these errors when compiling (CMake, Qt 4.8.4):
>>
>> D:\LyXGit\Master\src\output_xhtml.h(167): warning C4099: 'lyx::html::FontTag' : type name first seen using 'class' now seen using 'struct' [D:\LyXGit\Master\compile-result\src\insets\insets.vcxproj] >> D:\LyXGit\Master\src\output_xhtml.h(181): warning C4099: 'lyx::html::EndFontTag' : type name first seen using 'class' now seen using 'struct' [D:\LyXGit\Master\compile-result\src\insets\insets.vcxproj]
>>
>> could you please have a look?
>
>
> That is very strange. FontTag and EndFontTag are forward declared as structs on lines 34 and 35, and then the definition follows on lines 167 and 181, again as structs. Perhaps your compiler does not like the forward definition of structs and treats it as if it said "class"?
>
> Anyone?
>

I already fixed this. It's hard not to, if you're confronted with a trillion of warnings.

They were forwardly declared as class.


Sorry, not sure why I did not see the warnings here.

rh

Reply via email to