Re: [Ghdl-discuss] warnings while building vital and/or v08ieee

2017-02-07 Thread Tristan Gingold

On 07/02/17 18:48, Roberto Hexsel wrote:

Greetings,

while building the libraries, the following (and only) warnings were
issued by ghdl:


/usr/local/bin/ghdl -a --std=08 -P../std --work=ieee
../../src/ieee2008/ieee_bit_context.vhdl
/usr/local/bin/ghdl -a --std=08 -P../std --work=ieee
../../src/ieee2008/ieee_std_context.vhdl
/usr/local/bin/ghdl -a --std=08 -P../std --work=ieee -frelaxed-rules
../../src/vital2000/timing_p.vhdl
../../src/vital2000/timing_p.vhdl:152:14:warning: result subtype of a
pure function cannot have access subelements [-Wpure]
/usr/local/bin/ghdl -a --std=08 -P../std --work=ieee -frelaxed-rules
../../src/vital2000/timing_b.vhdl
../../src/vital2000/timing_p.vhdl:152:14:warning: result subtype of a
pure function cannot have access subelements [-Wpure]
../../src/vital2000/timing_b.vhdl:1094:14:warning: result subtype of a
pure function cannot have access subelements [-Wpure]
/usr/local/bin/ghdl -a --std=08 -P../std --work=ieee -frelaxed-rules
../../src/vital2000/prmtvs_p.vhdl
../../src/vital2000/timing_p.vhdl:152:14:warning: result subtype of a
pure function cannot have access subelements [-Wpure]
/usr/local/bin/ghdl -a --std=08 -P../std --work=ieee -frelaxed-rules
../../src/vital2000/prmtvs_b.vhdl
../../src/vital2000/timing_p.vhdl:152:14:warning: result subtype of a
pure function cannot have access subelements [-Wpure]
/usr/local/bin/ghdl -a --std=08 -P../std --work=ieee -frelaxed-rules
../../src/vital2000/memory_p.vhdl
../../src/vital2000/timing_p.vhdl:152:14:warning: result subtype of a
pure function cannot have access subelements [-Wpure]
../../src/vital2000/memory_p.vhdl:998:10:warning: result subtype of a
pure function cannot have access subelements [-Wpure]
/usr/local/bin/ghdl -a --std=08 -P../std --work=ieee -frelaxed-rules
../../src/vital2000/memory_b.vhdl
../../src/vital2000/timing_p.vhdl:152:14:warning: result subtype of a
pure function cannot have access subelements [-Wpure]
../../src/vital2000/memory_p.vhdl:998:10:warning: result subtype of a
pure function cannot have access subelements [-Wpure]
../../src/vital2000/memory_b.vhdl:2831:10:warning: result subtype of a
pure function cannot have access subelements [-Wpure]


I am using a (broken) gcc-based ghdl.  The "broken" part will be
described in the next message.


As I cannot tell whether this is important, it may be better to pass the
word on.


This is known and not important.  These standard VHDL packages are not 
VHDL compliant!


Regards,
Tristan.


___
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss


[Ghdl-discuss] warnings while building vital and/or v08ieee

2017-02-07 Thread Roberto Hexsel
Greetings,

while building the libraries, the following (and only) warnings were issued
by ghdl:


/usr/local/bin/ghdl -a --std=08 -P../std --work=ieee
../../src/ieee2008/ieee_bit_context.vhdl
/usr/local/bin/ghdl -a --std=08 -P../std --work=ieee
../../src/ieee2008/ieee_std_context.vhdl
/usr/local/bin/ghdl -a --std=08 -P../std --work=ieee -frelaxed-rules
../../src/vital2000/timing_p.vhdl
../../src/vital2000/timing_p.vhdl:152:14:warning: result subtype of a pure
function cannot have access subelements [-Wpure]
/usr/local/bin/ghdl -a --std=08 -P../std --work=ieee -frelaxed-rules
../../src/vital2000/timing_b.vhdl
../../src/vital2000/timing_p.vhdl:152:14:warning: result subtype of a pure
function cannot have access subelements [-Wpure]
../../src/vital2000/timing_b.vhdl:1094:14:warning: result subtype of a pure
function cannot have access subelements [-Wpure]
/usr/local/bin/ghdl -a --std=08 -P../std --work=ieee -frelaxed-rules
../../src/vital2000/prmtvs_p.vhdl
../../src/vital2000/timing_p.vhdl:152:14:warning: result subtype of a pure
function cannot have access subelements [-Wpure]
/usr/local/bin/ghdl -a --std=08 -P../std --work=ieee -frelaxed-rules
../../src/vital2000/prmtvs_b.vhdl
../../src/vital2000/timing_p.vhdl:152:14:warning: result subtype of a pure
function cannot have access subelements [-Wpure]
/usr/local/bin/ghdl -a --std=08 -P../std --work=ieee -frelaxed-rules
../../src/vital2000/memory_p.vhdl
../../src/vital2000/timing_p.vhdl:152:14:warning: result subtype of a pure
function cannot have access subelements [-Wpure]
../../src/vital2000/memory_p.vhdl:998:10:warning: result subtype of a pure
function cannot have access subelements [-Wpure]
/usr/local/bin/ghdl -a --std=08 -P../std --work=ieee -frelaxed-rules
../../src/vital2000/memory_b.vhdl
../../src/vital2000/timing_p.vhdl:152:14:warning: result subtype of a pure
function cannot have access subelements [-Wpure]
../../src/vital2000/memory_p.vhdl:998:10:warning: result subtype of a pure
function cannot have access subelements [-Wpure]
../../src/vital2000/memory_b.vhdl:2831:10:warning: result subtype of a pure
function cannot have access subelements [-Wpure]


I am using a (broken) gcc-based ghdl.  The "broken" part will be described
in the next message.


As I cannot tell whether this is important, it may be better to pass the
word on.


   Regards,
 Roberto

-- 
Roberto Hexsel   rhex...@gmail.com   http://www.inf.ufpr.br/roberto
"facts can speak for themselves with overwhelming precision"  J.Conrad
___
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss