Analyse following RPM build log snippet. Describe contents accurately, without speculation or suggestions for resolution.            
Your analysis must be as concise as possible, while keeping relevant information intact.
Snippet: 
cmds.c:1055:11: error: ‘bool’ cannot be used here
 1055 | onoff(int bool)
      |           ^~~~
cmds.c:1055:11: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
cmds.c: In function ‘onoff’:
cmds.c:1057:21: error: expected ‘)’ before ‘?’ token
 1057 |         return (bool ? "on" : "off");
      |                ~    ^~
      |                     )
cmds.c:1057:37: error: expected expression before ‘;’ token
 1057 |         return (bool ? "on" : "off");
      |                                     ^
The snippet shows an error when building with the new GCC15.