Skip to content

myConfig: add ability to define HAVE_INTTYPES_H#72

Merged
eserte merged 1 commit into
eserte:masterfrom
chrstphrchvz:myconfig-inttypes
Feb 7, 2021
Merged

myConfig: add ability to define HAVE_INTTYPES_H#72
eserte merged 1 commit into
eserte:masterfrom
chrstphrchvz:myconfig-inttypes

Conversation

@chrstphrchvz

Copy link
Copy Markdown
Contributor

The effect of this is that the installed tkConfig.h may contain #define HAVE_INTTYPES_H 1, which extensions can check before including <inttypes.h>.

Specifically, I would like to see if there is a way to use intptr_t and uintptr_t (from <inttypes.h>) in Tk::TableMatrix to resolve some compiler warnings using the approach common in newer Tcl/Tk C code: see asb-capfan/Tk-TableMatrix#3. But I would also need to figure out how to check for intptr_t/uintptr_t, as these types are not mandatory for inttypes.h, and Config.pm does not seem to already check for them.

@eserte eserte merged commit 26e95e3 into eserte:master Feb 7, 2021
@chrstphrchvz chrstphrchvz deleted the myconfig-inttypes branch February 7, 2021 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants