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
{{ message }}
Repository navigation
C++ backend: Parser.H declares pX(const char*) but implementation defines psX(const char*) #524
thanks for the referenced code. I should have put those in the first place, sorry about that.
But is this a confirmation about the problem? Should I go ahead and try a PR?
One question that should be answered is why the testsuite did not catch this regression. How do I make the C++ compiler check strictly that declarations in .H and .C files match?
Activity
andreasabel commentedon Jan 25, 2026
Referenced code:
bnfc/source/src/BNFC/Backend/C/CFtoBisonC.hs
Lines 208 to 220 in d02d780
bnfc/source/src/BNFC/Backend/CPP/STL.hs
Lines 187 to 190 in d02d780
bnfc/source/src/BNFC/Backend/CPP/NoSTL.hs
Line 144 in d02d780
TheGhoul21 commentedon Jan 26, 2026
thanks for the referenced code. I should have put those in the first place, sorry about that.
But is this a confirmation about the problem? Should I go ahead and try a PR?
Fix #524: overloaded function for file/string entrypoint (as in 2.9.1)
Fix #524/nostl: missing declaration of string entrypoint in Parser.H …
andreasabel commentedon Jan 26, 2026
I put a fix up at #527.
One question that should be answered is why the testsuite did not catch this regression. How do I make the C++ compiler check strictly that declarations in .H and .C files match?