X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fversion.h;h=ab712d5875f0c5f9c2b85ec63193b78e434f2adf;hb=80dfb44171bdb081ec56ae9bd7bcc301359cb1ab;hp=76741f8e017beddabef1cefffc372b730bd50d51;hpb=11da53414e40cf98b97ab77acc7fce43d8cb9e83;p=lyx.git diff --git a/src/version.h b/src/version.h index 76741f8e01..ab712d5875 100644 --- a/src/version.h +++ b/src/version.h @@ -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 425 // uwestoehr: support for the package cancel -#define LYX_FORMAT_TEX2LYX 425 // uwestoehr: support for the package cancel +#define LYX_FORMAT_LYX 474 // rgh: dummy format change for Chunk switch +#define LYX_FORMAT_TEX2LYX 474 -#if LYX_FORMAT_FOR_TEX2LYX != LYX_FORMAT_FOR_LYX +#if LYX_FORMAT_TEX2LYX != LYX_FORMAT_LYX +#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