Opened 5 months ago

Last modified 7 weeks ago

#61231 accepted defect

molden: error: implicit declaration of function

Reported by: p-walt Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: bigsur catalina Cc: vikilyc (yuchen liu)
Port: molden

Description

Hi there, I have tried multiple times to install molden using MacPorts. I have tried multiple versions of gcc and still get the same errors generated.

Attachments (1)

Error log.rtf (115.0 KB) - added by p-walt 5 months ago.
Log file of the failed building of the molden port

Download all attachments as: .zip

Change History (3)

Changed 5 months ago by p-walt

Attachment: Error log.rtf added

Log file of the failed building of the molden port

comment:1 Changed 5 months ago by ryandesign (Ryan Schmidt)

Owner: set to ryandesign
Status: newaccepted
Summary: Failure to install molden portmolden: error: implicit declaration of function

Looks like there are many errors in the log of this form:

src/xwin.c:8709:4: error: implicit declaration of function 'plinz_' [-Werror,-Wimplicit-function-declaration]
   plinz_(isel,istat,
   ^

Implicit function declaration errors are a new problem we're having to contend with since the introduction of Xcode 12. Prior to that, this was only considered a warning. We should fix these problems, but until we do, you can avoid them by downgrading to Xcode 11 and/or the Xcode 11 version of the command line tools.

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

Cc: vikilyc added
Keywords: bigsur catalina added

Has duplicate #61985.

It is too difficult for me to fix errors in molden (the file that these errors occur in is over 92,000 lines long) so I will report it to the developer of molden for them to fix.

Note: See TracTickets for help on using tickets.