Am Fr., 5. Apr. 2024 um 18:05 Uhr schrieb Jean-Marc Lasgouttes: > Le 05/04/2024 à 17:55, Yu Jin a écrit : > > Yeah I get this error now in Text.cpp > > > > Build started at 17:53... > > 1>------ Build started: Project: LyX (applications\LyX\LyX), > > Configuration: Debug x64 ------ > > 1>Text.cpp > > 1>C:\lyx\master\src\Text.cpp(5961,19): error C2065: 'uint': undeclared > > identifier > > Is it better when replacing uint with unsigned int? > Yeah, it is.
> > > 1>C:\lyx\master\src\Text.cpp(5961,11): error C2672: 'convert': no > > matching overloaded function found > > 1>C:\lyx\master\src\support\convert.h(24,8): > > 1>could be 'Target lyx::convert(Source)' > > 1> C:\lyx\master\src\Text.cpp(5961,19): > > 1> 'lyx::convert': invalid template argument for 'Target', type expected > > 1>Done building project "LyX.vcxproj" -- FAILED. > > > > (I omitted the Warnings) > > Warnings might be useful to see too. > Ok, here. Build started at 18:07... 1>------ Build started: Project: LyX (applications\LyX\LyX), Configuration: Debug x64 ------ 1>Text.cpp 1>C:\lyx\master\src\Text.cpp(3226,10): warning C4244: 'initializing': conversion from 'const lyx::pos_type' to 'int', possible loss of data 1>C:\lyx\master\src\Text.cpp(3238,28): warning C4244: 'initializing': conversion from 'lyx::pos_type' to 'int', possible loss of data 1>C:\lyx\master\src\Text.cpp(3238,18): warning C4244: 'initializing': conversion from 'lyx::pos_type' to 'const int', possible loss of data 1>C:\lyx\master\src\Text.cpp(3240,15): warning C4244: 'return': conversion from 'lyx::pos_type' to 'int', possible loss of data 1>C:\lyx\master\src\Text.cpp(3295,18): warning C4244: 'initializing': conversion from 'lyx::pos_type' to 'int', possible loss of data 1>C:\lyx\master\src\Text.cpp(3408,20): warning C4244: 'initializing': conversion from 'lyx::pos_type' to 'int', possible loss of data 1>C:\lyx\master\src\Text.cpp(3499,30): warning C4244: 'initializing': conversion from 'lyx::pos_type' to 'int', possible loss of data 1>C:\lyx\master\src\Text.cpp(3499,21): warning C4244: 'initializing': conversion from 'lyx::pos_type' to 'const int', possible loss of data 1>Done building project "LyX.vcxproj". ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== ========== Build completed at 18:07 and took 01,649 seconds ========== (with the uint replaced by "unsigned int") > > > > > What we learn here is that including <QDate> might be enough to > trigger > > an error. > > > > No, I tried on a minimal project and just including it did not do > > anything, compiled successfully. > > Good. -- Eugene
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel