[MacPorts] #31860: par2 build error.
MacPorts
noreply at macports.org
Wed Nov 2 06:19:13 PDT 2011
#31860: par2 build error.
------------------------------+---------------------------------------------
Reporter: h_atac@… | Owner: julian@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: par2
------------------------------+---------------------------------------------
Changes (by cal@…):
* owner: macports-tickets@… => julian@…
* keywords: par2 =>
Old description:
> It couldn't be compiled. It gives error in par2fileformat.h file.
>
> :info:build
> ./par2fileformat.h./par2fileformat.h::8787::25./par2fileformat.h::
> 25error: :flexible array member 'entries' of non-POD element type
> 'FILEVERIFICATIONENTRY []'
> :info:build 87:25:flexible array member 'entries' of non-POD element
> type 'FILEVERIFICATIONENTRY []'error:
> :info:build FILEVERIFICATIONENTRY entries[];
> :info:build : ^error:
> :info:build flexible array member 'entries' of non-POD element type
> 'FILEVERIFICATIONENTRY []'error:
> :info:build FILEVERIFICATIONENTRY entries[];
> :info:build ^ FILEVERIFICATIONENTRY entries[];
> :info:build
> :info:build flexible array member 'entries' of non-POD element type
> 'FILEVERIFICATIONENTRY []'
> :info:build flexible array member 'entries' of non-POD element type
> 'FILEVERIFICATIONENTRY []'flexible array member 'entries' of non-POD
> element type 'FILEVERIFICATIONENTRY []'
> :info:build
> :info:build ^
> :info:build FILEVERIFICATIONENTRY entries[];
> :info:build ^ FILEVERIFICATIONENTRY entries[];
> :info:build
> :info:build ^ FILEVERIFICATIONENTRY entries[];
> :info:build
> :info:build ^
>
> There are lots of other warnings but at least this error causes build to
> stop.
New description:
It couldn't be compiled. It gives error in par2fileformat.h file.
{{{
:info:build
./par2fileformat.h./par2fileformat.h::8787::25./par2fileformat.h::
25error: :flexible array member 'entries' of non-POD element type
'FILEVERIFICATIONENTRY []'
:info:build 87:25:flexible array member 'entries' of non-POD element type
'FILEVERIFICATIONENTRY []'error:
:info:build FILEVERIFICATIONENTRY entries[];
:info:build : ^error:
:info:build flexible array member 'entries' of non-POD element type
'FILEVERIFICATIONENTRY []'error:
:info:build FILEVERIFICATIONENTRY entries[];
:info:build ^ FILEVERIFICATIONENTRY entries[];
:info:build
:info:build flexible array member 'entries' of non-POD element type
'FILEVERIFICATIONENTRY []'
:info:build flexible array member 'entries' of non-POD element type
'FILEVERIFICATIONENTRY []'flexible array member 'entries' of non-POD
element type 'FILEVERIFICATIONENTRY []'
:info:build
:info:build ^
:info:build FILEVERIFICATIONENTRY entries[];
:info:build ^ FILEVERIFICATIONENTRY entries[];
:info:build
:info:build ^ FILEVERIFICATIONENTRY entries[];
:info:build
:info:build ^
}}}
There are lots of other warnings but at least this error causes build to
stop.
--
Comment:
Please remember to Cc the maintainer. What version of Xcode are you using?
Seems like a clang-issue to me, which could be easily resolved by the
usual
{{{
if {${configure.compiler} == "clang"}{
configure.compiler llvm-gcc-4.2
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/31860#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list