#1038112 bglibs/sysdeps.h redeclares system functions and variables (with incomplete prototypes)

Package:
libbg-dev
Source:
libbg-dev
Description:
BG Libraries Collection (development)
Submitter:
Julian Andres Klode
Date:
2023-12-13 02:21:04 UTC
Severity:
normal
#1038112#5
Date:
2023-06-15 14:25:13 UTC
From:
To:
The most funny tidbit is

extern int select();

which totally breaks compilation in a C++ compiler even if you wrap
everything into extern "C" block.

Regardless of that, the declarations in the system headers may have
additional attributes set that may or may not cause conflicts with
the redeclarations down the road so libbg-dev should not redeclare
them.

#1038112#10
Date:
2023-12-13 02:08:09 UTC
From:
To:
This looks like it was never forwarded to upstream. Will do so to get their opinions on the issue.

Regards

Phil

#1038112#15
Date:
2023-12-13 02:17:03 UTC
From:
To:
forwarded 1038112 https://github.com/bruceg/bglibs/issues/3

Actually forwarded.

Regards

Phil