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
The problem is that basically anything that changes in the public API headers that can potential break a compilation for > anyone is an API break. So until we found that this is very unlikely to break anyone it was considered an API break. Not > sure how to record this and where.
Thanks for your response, which more or less includes a definition of an API break.
Unfortunately, it won't be easy to give simple syntactic rules to correctly and completely determine what will constitute an API break or not.
For instance, the following header file changes do not lead to API breaks:
whitespace and comment changes
adding or removing the const qualifier before a primitive (i.e., non-reference) type
adding or removing the name or changing the name of a function parameter
adding a declaration
...?
I suggest adding something like this to the technical policies, next to the coding style.
The text was updated successfully, but these errors were encountered:
Unfortunately even constifying reference type arguments is nowadays considered an API break because in theory someone could use that function in a function pointer variable.
DDvO commented Mar 21, 2023
Thanks for your response, which more or less includes a definition of an API break.
Unfortunately, it won't be easy to give simple syntactic rules to correctly and completely determine what will constitute an API break or not.
For instance, the following header file changes do not lead to API breaks:
I suggest adding something like this to the technical policies, next to the coding style.
The text was updated successfully, but these errors were encountered: