Discussion:
[Ghdl-discuss] warnings while building vital and/or v08ieee
Roberto Hexsel
2017-02-07 17:48:53 UTC
Permalink
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 ***@gmail.com http://www.inf.ufpr.br/roberto
"facts can speak for themselves with overwhelming precision" J.Conrad
Tristan Gingold
2017-02-07 18:11:56 UTC
Permalink
Post by Roberto Hexsel
Greetings,
while building the libraries, the following (and only) warnings were
/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.

Loading...