Philippe, > Here, at CLS we have a module which extends (and simplify for our > applications) udunits and it as been ported to udunits-2. > As a transistion, there is also the old one (while applications are > ported) and they use udunits.h. > > When compiling I have errors because 2 functions which don't have any > parameter don't have 'void' as parameter description (we use -Werror as > gcc flags). > > I don't know if you plan to fix this but as attachment there is the > patch which corrects the functions definitions. Thanks for sending this in. I applied the patch and it will be in the next release of the UDUNITS (alias UDUNITS-1) package. That probably won't happen soon unless the UDUNITS-1 package accumulates more changes because I'm trying to move people to the UDUNITS-2 package. > Cheers, > Philippe > -- > Philippe Poilbarbe - CLS Space Oceanography Division > > --------------060109050807080505080307 > Content-Type: text/x-patch; > name="udunits-2.1.14-void-missing.patch" > Content-Transfer-Encoding: 7bit > Content-Disposition: attachment; filename="udunits-2.1.14-void-missing.patch" > > --- lib/udunits.h.orig > +++ lib/udunits.h > @@ -72,6 +72,7 @@ > * Indicate if the units(3) package has been initialized. > */ > extern int utIsInit PROTO(( > + void > )); > > /* > @@ -246,7 +247,7 @@ > /* > * Terminate use of this package. > */ > -extern void utTerm PROTO(()); > +extern void utTerm PROTO((void)); > > #ifdef __cplusplus > } > > --------------060109050807080505080307 > Content-Type: text/plain; charset="us-ascii" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Content-Disposition: inline Regards, Steve Emmerson Ticket Details =================== Ticket ID: JLQ-176111 Department: Support UDUNITS Priority: Normal Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.