[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #OBJ-198091]: udunits 2.2.26 fails to build against clang 12.0.0

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [UDUNITS #OBJ-198091]: udunits 2.2.26 fails to build against clang 12.0.0
  • Date: Mon, 16 Nov 2020 09:45:31 -0700

Rick,

> Starting from a clean distribution:
> 
> % ./configure CFLAGS=-std=c99 >configure.log 2>&1
> edit config.h:
> % grep XOPEN config.h
> #define _XOPEN_SOURCE 600
> % make > all.log 2>&1
> 
> Log files are attached.
> 
> Same result if parser.y is modified as per prior email

I don't have this problem with my current development version. Would you mind 
trying it? You can download it with this command:

    wget ftp://ftp.unidata.ucar.edu/pub/udunits/beta/udunits-2.2.27.15.tar.gz

Please keep me apprised.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: OBJ-198091
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.