Hello,
I found that mRunStatus is used uninitialized in VfrCompiler.cpp:56.
This cause problems at least for some versions of g++ (4.8.3-3,
4.7.3-14, 4.6.4-7) on my Debian. Compilation works when mRunStatus
contain some big value out of COMPILER_RUN_STATUS range (this happens
when I use i.e. g++ 4.7.2-5), but if it contain for example
STATUS_FAILED VfrCompiler fails.

Other thing is that VfrCompiler.cpp doesn't contain mRunStatus range
validation.

What about enabling -Wall for BaseTools ?

Thanks,
Piotr Król

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
edk2-buildtools-devel mailing list
edk2-buildtools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel

Reply via email to