You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building panda3d I discovered that in the files *_igate.cxx (created by dtool/interrogated) unreachable code is generated for the functions "sequence getter for property ..." (ie Dtool_*_Sequence_Getitem ()), such as:
if (! _PyErr_OCCURRED()) {
return Dtool_Raise_BadArgumentsError (
...
}
Indeed g++ (v. 8.3) issues warnings such as: ... warning: control reaches end of non-void function ...
Examples of this code can be found in different files: libp3chan_igate.cxx, libp3collide_igate.cxx etc ...
I report this as it could hide an error.
Bye
The text was updated successfully, but these errors were encountered:
rdb
transferred this issue from panda3d/panda3d
Aug 10, 2024
Building panda3d I discovered that in the files
*_igate.cxx
(created bydtool/interrogated
) unreachable code is generated for the functions "sequence getter for property ..." (ieDtool_*_Sequence_Getitem ()
), such as:Indeed g++ (v. 8.3) issues warnings such as:
... warning: control reaches end of non-void function ...
Examples of this code can be found in different files:
libp3chan_igate.cxx
,libp3collide_igate.cxx
etc ...I report this as it could hide an error.
Bye
The text was updated successfully, but these errors were encountered: