Development

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • invalid code generated (x86, "int $5") with __builtin_va_arg(va, char);

    0 answers - 599 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Additional Comments From pinskia at gcc dot gnu dot org 2005-09-11 14:34
    (In reply to comment #12)
    Invalid? So whenever behavior is undefined by the C standard, would it be ok
    to delete the user's harddrive as well? This is ridiculous - fix the bug.
    It is undefined which means anything can happen. The comment about delete the user's harddrive is
    mainly a joke about the C standard says about this.
    There is no bug here except in your code as the variable is passed as an int and not as a char.
    To fix your code, replace char with int and it works just fine.

Re: invalid code generated (x86, "int $5") with __builtin_va_arg(va, char);


max 4000 letters.
Your nickname that display:
In order to stop the spam: 8 + 7 =
QUESTION ON "Development"

EMSDN.COM