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?
Richard