Bug 4514 - inline qualifier hurts hpCC
Summary: inline qualifier hurts hpCC
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.23
Hardware: PA-RISC HP-UX
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-16 00:10 UTC by David Leonard (550 5.7.1 Unable to deliver)
Modified: 2019-06-19 04:11 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Leonard (550 5.7.1 Unable to deliver) 2007-04-16 00:10:13 UTC
I found I needed to remove an inline directive to get a build working on HP-UX using the HP-UX C compiler (HP aC++ version C.03.55 on HPUX11.00)

+++ samba/source/popt/poptint.h 2006-06-16 00:08:03.000000000 +1000
@@ -14,7 +14,7 @@
  * @param p            memory to free
  * @retval             NULL always
  */
-/*@unused@*/ static inline /*@null@*/ void *
+/*@unused@*/ static /*@null@*/ void *
 _free(/*@only@*/ /*@null@*/ const void * p)
        /*@modifies p @*/
 {

I'm using the latest release of HP aC++ for hpux11.00 (ref http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1743,00.html#11)
Comment 1 Andrew Bartlett 2019-06-19 04:11:54 UTC
Current supported versions of Samba (eg 4.8 and above) require a C99 compiler that supports inline.

Marking WONTFIX

Sorry!