Hi sirs,
I encounter next problem.
----------
c:\tiano\edk2\mdepkg\library\baselib\math64.c(89) : warning C6334: sizeof 
operator applied to an expression with an operator might yield unexpected 
results.
----------
The code is the follow
------
  //
  // Test if this compiler supports arithmetic shift
  //
  TestValue = (((-1) << (sizeof (-1) * 8 - 1)) >> (sizeof (-1) * 8 - 1));
  if (TestValue == -1) {
    //
    // Arithmetic shift is supported

------
It seems VS2012 don't like sizeof(-1).
Switch off some warning?

Sergey

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to