Bug 4514 - inline qualifier hurts hpCC
inline qualifier hurts hpCC
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.23
PA-RISC HP-UX
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-16 00:10 UTC by David Leonard (550 5.7.1 Unable to deliver)
Modified: 2007-08-13 13:12 UTC (History)
0 users

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)