]> git.lyx.org Git - lyx.git/blobdiff - src/version.h
Cmake build: Creating a define for a header file found
[lyx.git] / src / version.h
index 2a42cad211dce273be9ce217c05b1e8450df699e..76144db1200df8c2d679ec483677c1d657f80d87 100644 (file)
@@ -30,13 +30,19 @@ extern char const * const lyx_version_info;
 
 // Do not remove the comment below, so we get merge conflict in
 // independent branches. Instead add your own.
-#define LYX_FORMAT_LYX 428 // uwestoehr: rotated table cells
-#define LYX_FORMAT_TEX2LYX 428 // uwestoehr: rotated table cells
+#define LYX_FORMAT_LYX 461 // uwestoehr: support for the kurier fonts
+#define LYX_FORMAT_TEX2LYX 461 // uwestoehr: support for the kurier fonts
 
 #if LYX_FORMAT_TEX2LYX != LYX_FORMAT_LYX
-//#warning "tex2lyx produces an out of date file format."
-//#warning "Please update tex2lyx as soon as possible, since it depends implicitly"
-//#warning "on the current file format in some places (this causes bugs like #7780)."
+#ifndef _MSC_VER
+#warning "tex2lyx produces an out of date file format."
+#warning "Please update tex2lyx as soon as possible, since it depends implicitly"
+#warning "on the current file format in some places (this causes bugs like #7780)."
+#else
+#pragma message("warning: tex2lyx produces an out of date file format. " \
+       "Please update tex2lyx as soon as possible, since it depends implicitly " \
+       "on the current file format in some places (this causes bugs like #7780).")
+#endif
 #endif
 
 //} // namespace lyx