|
From: Maciej S. <mac...@ce...> - 2016-03-09 10:32:56
|
Thank you Martin. I do not get these warnings with gcc 5.3.0, it seems that only older versions care about the problem. Please see the attached patch. Regards, Orson On 03/08/2016 09:56 PM, Martin Whitaker wrote: > This pull has also introduced a number of shadow warnings, e.g. > > g++ -I. -I.. -I../../source/vhdlpp -I../../source/vhdlpp/.. -I../../source/vhdlpp/../libmisc > -DHAVE_CONFIG_H -Wall -Wextra -Wshadow -g -O2 -MD -c ../../source/vhdlpp/main.cc -o main.o > In file included from ../../source/vhdlpp/std_funcs.h:23:0, > from ../../source/vhdlpp/main.cc:79: > ../../source/vhdlpp/subprogram.h: In constructor > 'SubprogramStdHeader::SubprogramStdHeader(perm_string, std::list<InterfacePort*>*, const VType*)': > ../../source/vhdlpp/subprogram.h:150:40: warning: declaration of 'name' shadows a member of 'this' > [-Wshadow] > const VType*return_type) : > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://makebettercode.com/inteldaal-eval > _______________________________________________ > Iverilog-devel mailing list > Ive...@li... > https://lists.sourceforge.net/lists/listinfo/iverilog-devel > |