apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58476] New: include for stdint.h missing in apr_dbd_odbc.c
Date Sat, 03 Oct 2015 06:38:05 GMT

            Bug ID: 58476
           Summary: include for stdint.h missing in apr_dbd_odbc.c
           Product: APR
           Version: HEAD
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR-util
          Assignee: bugs@apr.apache.org
          Reporter: tschoening@am-soft.de

Im building apr-util with Embarcadero C++-Builder 10 Seattle and run into
compile time problems in apr_dbd_odbc.c, which uses the following line:

> #define   ODBC_INTPTR_T  intptr_t

intptr_t is part of stdint.h, which is available, but doesn't seem to be
included, therefore intptr_t is not defined. In APR itself apr.h contains
APR_HAVE_STDINT_H, which was 0 by default in apr.hw, but even if I change it to
1 that doesn't change anything, because apr.hw doesn't include stdint.h on it's
own, instead of apr.h.in, which does. If I add such an include on my own, the
error about missing intptr_t is gone and I think it makes sense to add it in
apr.hw, because it already checks and includes other things.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message