Skip to content
Snippets Groups Projects
Commit b66441a2 authored by Alan Coopersmith's avatar Alan Coopersmith
Browse files

Fix builds with C23 compilers


Relies on C99 & later stdbool.h header to avoid making our own
definitions of bool, true, & false that C23 already defines for us.

./VBoxVideoIPRT.h:35:5: error: expected identifier before ‘false’
   35 |     false = 0,
      |     ^~~~~
./VBoxVideoIPRT.h:37:3: error: expected ‘;’, identifier or ‘(’ before ‘bool’
   37 | } bool;
      |   ^~~~
./VBoxVideoIPRT.h:37:3: warning: useless type name in empty declaration

Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent 00612698
No related branches found
No related tags found
1 merge request!5Fix builds with C23 compilers
Pipeline #1131127 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment