Bug 4635 - HAVE_INTPTR_T not set, although detected by configure
Summary: HAVE_INTPTR_T not set, although detected by configure
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.25
Hardware: x64 FreeBSD
: P3 minor
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-17 16:39 UTC by Mikhail T.
Modified: 2017-06-29 06:46 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail T. 2007-05-17 16:39:56 UTC
The configure script successfully detects the presence of intptr_t type, but does not set corresponding define anywhere, leading to undue compiler warnings (when building libsmbclient.c, for example).
Comment 1 Timur Bakeyev 2007-06-03 17:17:11 UTC
(In reply to comment #0)
> The configure script successfully detects the presence of intptr_t type, but
> does not set corresponding define anywhere, leading to undue compiler warnings
> (when building libsmbclient.c, for example).

Samba configure should use AC_CHECK_TYPES macro instead of AC_CHECK_TYPE, it's up to date with default 2.53 version and safe.

As a side effect AC_CHECK_TYPES defines HAVE_TYPE macros automatically.

WBR,
Timur

Comment 2 Andrew Bartlett 2017-06-27 18:09:31 UTC
Marking as fixed in our modern build system, waf with samba 4.0