2013-04-10 13:32:45 +02:00
|
|
|
Cleaning TODO.
|
|
|
|
Taken from Blas' v1.5 checklist and revised for v2 by Claudio and for v3 by Popa Adrian.
|
2003-07-08 20:12:16 +02:00
|
|
|
|
2005-04-03 08:59:41 +02:00
|
|
|
The order is not significant.
|
2003-07-08 20:12:16 +02:00
|
|
|
|
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.
|
|
|
|
|
2013-04-10 13:32:45 +02:00
|
|
|
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.
|
|
|
|
|
2013-04-10 13:32:45 +02:00
|
|
|
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
|
2013-04-10 13:32:45 +02:00
|
|
|
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.
|
|
|
|
|
2013-04-10 13:32:45 +02:00
|
|
|
C3.- Remove casts.
|
2005-04-03 08:59:41 +02:00
|
|
|
Partially done.
|
|
|
|
|
2013-04-10 13:32:45 +02:00
|
|
|
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
|
|
|
|