From 15f6b8c682c168bf4a1ace877c875bf0988fdce1 Mon Sep 17 00:00:00 2001
From: Andrew Johnson The definitions for the macros YES, NO, NONE,
min() and max() have been deleted. YES and
@@ -21,15 +21,15 @@ from the menuYesNo.h file where they were used in several record types. The
other macros were not being used anywhere in Base, sncseq or Asyn. The macro LOCAL that was a synonym for static is now
-deprecated and will be deleted soon, please adjust your code to use the latter
-keyword. Any uses of the READONLY macro from shareLib.h must now be
-replaced by the keyword const.Changes between 3.14.10 and 3.14.11
-Several macros and includes removed from dbDefs.h
+Several changes made to dbDefs.h
The dbDefs.h file was also unnecessarily including some other libCom header +
The dbDefs.h file was unnecessarily including various other libCom header files which may have to be manually added to out-of-tree source files that relied on this. The general rule for header files is that a header should only -include other headers that are needed for its own inclusion in any source -file. The #include statements that might need to be added are:
+include other headers that are needed for its own inclusion in any source file. +The #include statements that might need to be added are:A new macro CONTAINER(pointer, type, member) has been added which +calculates and returns a pointer to the parent structure when given a pointer to +a member, the structure type and the name of the member in that structure. On +GNU compilers the type of the pointer is checked to ensure that it matches the +member, so code using this macro should be built using gcc for additional +confidence.
+This functionality was replaced by errSymLookup() many releases ago.