Forráskód Böngészése

New year (2023)

Also, small tweak in makefile. (-Wsign-compare is already enabled by
-Wextra.)
Roberto Ierusalimschy 2 éve
szülő
commit
b5c65705ca
3 módosított fájl, 4 hozzáadás és 5 törlés
  1. 2 2
      lua.h
  2. 1 2
      makefile
  3. 1 1
      manual/2html

+ 2 - 2
lua.h

@@ -25,7 +25,7 @@
 
 
 #define LUA_VERSION	"Lua " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR
 #define LUA_VERSION	"Lua " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR
 #define LUA_RELEASE	LUA_VERSION "." LUA_VERSION_RELEASE
 #define LUA_RELEASE	LUA_VERSION "." LUA_VERSION_RELEASE
-#define LUA_COPYRIGHT	LUA_RELEASE "  Copyright (C) 1994-2022 Lua.org, PUC-Rio"
+#define LUA_COPYRIGHT	LUA_RELEASE "  Copyright (C) 1994-2023 Lua.org, PUC-Rio"
 #define LUA_AUTHORS	"R. Ierusalimschy, L. H. de Figueiredo, W. Celes"
 #define LUA_AUTHORS	"R. Ierusalimschy, L. H. de Figueiredo, W. Celes"
 
 
 
 
@@ -496,7 +496,7 @@ struct lua_Debug {
 
 
 
 
 /******************************************************************************
 /******************************************************************************
-* Copyright (C) 1994-2022 Lua.org, PUC-Rio.
+* Copyright (C) 1994-2023 Lua.org, PUC-Rio.
 *
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * a copy of this software and associated documentation files (the

+ 1 - 2
makefile

@@ -8,7 +8,6 @@ CWARNSCPP= \
 	-Wfatal-errors \
 	-Wfatal-errors \
 	-Wextra \
 	-Wextra \
 	-Wshadow \
 	-Wshadow \
-	-Wsign-compare \
 	-Wundef \
 	-Wundef \
 	-Wwrite-strings \
 	-Wwrite-strings \
 	-Wredundant-decls \
 	-Wredundant-decls \
@@ -60,7 +59,7 @@ CWARNS= $(CWARNSCPP) $(CWARNSC) $(CWARNGCC)
 
 
 # The following options help detect "undefined behavior"s that seldom
 # The following options help detect "undefined behavior"s that seldom
 # create problems; some are only available in newer gcc versions. To
 # create problems; some are only available in newer gcc versions. To
-# use some of them, we also have to define an enrivonment variable
+# use some of them, we also have to define an environment variable
 # ASAN_OPTIONS="detect_invalid_pointer_pairs=2".
 # ASAN_OPTIONS="detect_invalid_pointer_pairs=2".
 # -fsanitize=undefined
 # -fsanitize=undefined
 # -fsanitize=pointer-subtract -fsanitize=address -fsanitize=pointer-compare
 # -fsanitize=pointer-subtract -fsanitize=address -fsanitize=pointer-compare

+ 1 - 1
manual/2html

@@ -30,7 +30,7 @@ by Roberto Ierusalimschy, Luiz Henrique de Figueiredo, Waldemar Celes
 <p>
 <p>
 <small>
 <small>
 <a href="http://www.lua.org/copyright.html">Copyright</a>
 <a href="http://www.lua.org/copyright.html">Copyright</a>
-&copy; 2022 Lua.org, PUC-Rio.  All rights reserved.
+&copy; 2023 Lua.org, PUC-Rio.  All rights reserved.
 </small>
 </small>
 <hr>
 <hr>