Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#55132 closed defect (fixed)

swftools @0.9.2_3: error: ordered comparison between pointer and zero ('char *' and 'int')

Reported by: grr Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: swftools

Description

Log is attached.

Attachments (1)

main.log.bz2 (22.1 KB) - added by grr 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by grr

Attachment: main.log.bz2 added

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: swftools removed
Port: swftools added
Summary: swftools @0.9.2_3+universal: build failureswftools @0.9.2_3: error: ordered comparison between pointer and zero ('char *' and 'int')

The log says:

:info:build xpdf/GlobalParams.cc:925:12: error: ordered comparison between pointer and zero ('char *' and 'int')
:info:build     if(pos1>=0)
:info:build        ~~~~^ ~
:info:build xpdf/GlobalParams.cc:927:17: error: ordered comparison between pointer and zero ('char *' and 'int')
:info:build     else if(pos2>=0)
:info:build             ~~~~^ ~
:info:build 2 errors generated.

This is not universal- nor Mac-specific and should be reported to the developers, though since there hasn't been a new release of swftools in 5.5 years the software may be dead.

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In be0a05d923809a5bad3af8bef7eca051de7016a1/macports-ports:

swftools: Fix build failure on pickier compilers

Closes: #55132

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

In f8af0196ec2949cd76adbbbf0c47d9307ee6c58e/macports-ports:

swftools: Revbump to rebuild after preceding change

The code was wrong before: comparing whether a pointer >= 0 was always
true.

See: #55132

Note: See TracTickets for help on using tickets.