8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 00:03:02 +01:00
firebird-mirror/doc/cleaning-todo.txt

37 lines
1.2 KiB
Plaintext
Raw Normal View History

Cleaning TODO.
Taken from Blas' v1.5 checklist and revised for v2 by Claudio and for v3 by Popa Adrian.
2005-04-03 08:59:41 +02:00
The order is not significant.
2003-07-08 21:16:06 +02:00
Macros
2003-07-08 21:16:37 +02:00
M1.- Remove NOT_USED_OR_REPLACED Macro
2005-04-03 08:59:41 +02:00
Pending.
M2.- Remove BOOLEAN, TRUE and FALSE macros and replace with keywords.
2005-04-03 08:59:41 +02:00
Done where except some places where it doesn't make sense to remove them.
M4.- Remove TEXT and SCHAR macros.
2005-04-03 08:59:41 +02:00
Tricky and in some places SCHAR is really used as signed char.
2003-07-08 21:16:06 +02:00
Code
C1.- Remove clang++ warnings (excluding parentheses, unused var, non complete switches and pragmas)
Pending.
2005-04-03 08:59:41 +02:00
2003-07-08 21:16:37 +02:00
C2.- Define (type-safe?) unions for nod_arg and lls_object.
2003-07-08 21:16:06 +02:00
Nod_arg is used in several places of the code to contain pointers to several kinds of objects or numbers, whether is defined as pointer to xxx_nod.
The same happends with lls_object in lls (linked list) where the lls_object can store pointers or numbers, whether is defined as pointer to xxx_nod.
See gpre.h nod_arg in gpre_nod struct and lls_object in lls struct.
2005-04-03 08:59:41 +02:00
Another solution exists.
C3.- Remove casts.
2005-04-03 08:59:41 +02:00
Partially done.
C4.- Replace macros with code with inline functions.
2005-04-03 08:59:41 +02:00
Partially done.
2003-07-08 21:16:06 +02:00
Builds
2003-07-08 21:16:37 +02:00
B1.- Posix take cpp generated from epp out of src directory.
2005-04-03 08:59:41 +02:00
Unknown state.
2003-07-08 21:16:37 +02:00