This is a call for opinions on contradicting function attributes like giving both cdecl and stdcall or both always_inline and noinline.
Somewhat related to bug18069 (Contradicting type and variable attributes) I've seen that contradicting inline attributes give varying results/warnings/errors, depending on gcc verision, C vs. C++ and optimization flags. At the very least the documentation needs some clarification. Using conflicting calling conventions (both cdecl and stdcall) is an error IMHO. Furthermore I have not examined how changes in definitions vs. declarations are handled (i.e. protypes, multiple conflicting prototypes, conflicting implementation). -- Summary: Contradicting function attributes Product: gcc Version: 3.4.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: markus at oberhumer dot com CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i386-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18070