Skip to content
Snippets Groups Projects
Select Git revision
  • dualcore
  • ch3/leds
  • wip-bootstrap default
  • ch3/time
  • master
5 results

init.c

  • stijn's avatar
    1aa4599d
    windows/msvc: Nicer handling of asserts and 'invalid' parameters · 1aa4599d
    stijn authored
    The default bahaviour for debug builds is to show dialog boxes for asserts
    and invalid parameter handling. This is not so nice in general and causes
    the Appveyor debug builds to hang because the io\file_seek.py test passes
    a closed file descriptor to lseek. Disable this behaviour by printing
    assert messages to the output instead of showing the dialog, and by
    disabling 'invalid' parameter handling which causes the affected functions
    to just return an error and set errno appropriately.
    1aa4599d
    History
    windows/msvc: Nicer handling of asserts and 'invalid' parameters
    stijn authored
    The default bahaviour for debug builds is to show dialog boxes for asserts
    and invalid parameter handling. This is not so nice in general and causes
    the Appveyor debug builds to hang because the io\file_seek.py test passes
    a closed file descriptor to lseek. Disable this behaviour by printing
    assert messages to the output instead of showing the dialog, and by
    disabling 'invalid' parameter handling which causes the affected functions
    to just return an error and set errno appropriately.