In addition, what to do here?
--------------
gcc -c -MD -fshort-wchar -fno-strict-aliasing -nostdlib -Wall -Werror -c -g
-I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I
../Common/ -I .. -I . -I ../Include/X64/ LzmaCompress.c -o LzmaCompress.o
LzmaCompress.c:46:48: error: explicitly assigning a variable of type 'void *'
to itself
[-Werror,-Wself-assign]
static void *SzAlloc(void *p, size_t size) { p = p; return MyAlloc(size); }
~ ^ ~
LzmaCompress.c:47:48: error: explicitly assigning a variable of type 'void *'
to itself
[-Werror,-Wself-assign]
static void SzFree(void *p, void *address) { p = p; MyFree(address); }
~ ^ ~
2 errors generated.
make[1]: *** [LzmaCompress.o] Error 1
make: *** [LzmaCompress] Error 2
---------------
On 21.09.2013, at 12:38, Sergey Isakov <[email protected]> wrote:
> Dear sirs,
> Please consider
> ---------------------
> make -C GenVtf
> gcc -c -MD -fshort-wchar -fno-strict-aliasing -nostdlib -Wall -Werror -c -g
> -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I
> ../Common/ -I .. -I . -I ../Include/X64/ GenVtf.c -o GenVtf.o
> GenVtf.c:1725:20: error: comparison of unsigned expression >= 0 is always true
> [-Werror,-Wtautological-compare]
> if ((BaseAddress >= 0) && (FwVolSize > 0x40) && ((BaseAddress + FwVolSize)
> % 8 == 0)) {
> ~~~~~~~~~~~ ^ ~
> 1 error generated.
> make[1]: *** [GenVtf.o] Error 1
>
> ----------------------
> May be (BaseAddress != 0) ?
>
> Sergey
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
> http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk_______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel