This patch augments the XML dumps with a 'directivelist' subnode which lists all raw preprocessor directives met while reading the source code in each configuration. Also, the addons/cppcheckdata.py file has been extended to give easy access to the list of directives and to provide Python support for the --template (or short -t) option. Finally, an new addon, addons/y2038/y2038.py, is created to detect when a glibc symbol might be Y2038-sensitive, based on whether and how _TIME_BITS and _USE_TIME_BITS64 are defined when meeting the symbol.
12 lines
175 B
C
12 lines
175 B
C
#ifndef __INC2038
|
|
#define _INC2038
|
|
|
|
/*
|
|
* This file defines _USE_TIME_BITS64.
|
|
* It plays the role of a Y2038-proof glibc.
|
|
*/
|
|
|
|
#define _USE_TIME_BITS64
|
|
|
|
#endif /* INC2038 */
|