Unsuccessful error detection of improperly declared method in GCC 4.2 compiler

Posted by sam on Stack Overflow See other posts from Stack Overflow or by sam
Published on 2010-05-22T07:35:56Z Indexed on 2010/05/22 7:40 UTC
Read the original article Hit count: 298

Filed under:
|

I am using C++ compiler GCC 4.2 in XCode 3.2.2. I have noted that the compiler will successfully compile a method foo even though there are no ellipses. The header and method are properly declared as foo(), but when I do a find and replace either by file or by program-wide it will miss approximately 2-3% of the changes [foo to foo(). This would not be critical if the compiler did not give an erroneous successful build. I have not found that this to occur with: foo(any parameter). Does anyone have any solution? Thank you.

© Stack Overflow or respective owner

Related posts about xcode

Related posts about c++