Skip to content

Conversation

@rurban
Copy link

@rurban rurban commented Nov 2, 2024

e.g. needed for stp, which compiles it with C++ and -fpermissive

e.g. needed for stp, which compiles it with C++ and -fpermissive
return -1;
}

ifdef __cplusplus
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You dropped this: #

@sterin
Copy link
Contributor

sterin commented Nov 10, 2024

I can't seem to reproduce any problems with the existing code on Ubuntu 22.04 with g++ 11.4 using

make ABC_USE_NAMESPACE=xxx 

Which by default compiles the code as C++ in a namespace xxx with -fpermissive. Could you be more specific on the problems you encounter and how to reproduce them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants