From 2f16ab5d3a54dde68c94725cc031f803a9e5d294 Mon Sep 17 00:00:00 2001 From: coderJeff Date: Sun, 14 May 2023 09:28:41 -0400 Subject: [PATCH] fbdocs: wiki snapshot 2023.05.14 - CompilerErrMsg: update warning and error messages --- doc/manual/cache/CompilerErrMsg.wakka | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/manual/cache/CompilerErrMsg.wakka b/doc/manual/cache/CompilerErrMsg.wakka index 2f12d3a72f..0b9f35396f 100644 --- a/doc/manual/cache/CompilerErrMsg.wakka +++ b/doc/manual/cache/CompilerErrMsg.wakka @@ -50,8 +50,10 @@ During the program compilation three types of errors can arise: - //43(0) Argument count mismatch// - //44(1) Suffix ignored// - //45(1) FOR counter variable is unable to exceed limit value// - - //46(0) #cmdline ignored// + - //46(1) #cmdline ignored// - //47(1) Use of reserved global or backend symbol// + - //48(1) Expected digit// + - //49(1) Up-casting discards initializer(s)// ==Compiler Error messages:== The error messages stop the compilation after 10 errors (see the -maxerr command-line option to change that default value) or a fatal error occurred, and require a correction by the user before the compilation can be continued. The compiler signals the lines where the errors have been found, so the correction can be done quickly. In a few cases the place pointed at by the error messages is not where the errors can be found, it's the place where the compiler has given up in waiting for something that should be somewhere. @@ -270,7 +272,7 @@ During the program compilation three types of errors can arise: - //212 Destructor declared ABSTRACT// - //213 Member cannot be static// - //214 Member isn't static// - - //215 Only static members can be accessed from static functions// + - //215 Only static members can be accessed from static functions and parameter initializers// - //216 The PRIVATE and PUBLIC attributes are not allowed with REDIM, COMMON or EXTERN// - //217 STATIC used here, but not the in the DECLARE statement// - //218 CONST used here, but not the in the DECLARE statement// @@ -381,6 +383,9 @@ During the program compilation three types of errors can arise: - //323 Invalid CASE range, start value is greater than the end value// - //324 Fixed-length string combined with BYREF (not supported)// - //325 Illegal use of reserved symbol// + - //326 Expected ',' or ';'// + - //327 Expected file number expression// + - //328 Malformed SOURCE_DATE_EPOCH environment variable// ==Third party programs errors==