Ticket #4132 (closed Patches: fixed)
Use of "id" as a variable name makes Boost unusable in Objective-C++
|Reported by:||stokestack@…||Owned by:||johnmaddock|
I included a C++ object in an Objective-C++ file and compilation failed with "Expected primary-expression before..." It turns out that two relevant files were using "id" as a variable name. "id" is a keyword in Objective-C++.
Changing the variable name to "idx" (which appears to be more descriptive of its use anyway) eliminated the error.