public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/16816] New: obj-c++ parser error with multi-colon selectors
@ 2004-07-29  5:16 ratmice at yahoo dot com
  2004-07-29  5:25 ` [Bug objc++/16816] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: ratmice at yahoo dot com @ 2004-07-29  5:16 UTC (permalink / raw)
  To: gcc-bugs

using the objc-improvements-branch checked out 07-28

main.mm: In function `int main()':
main.mm:15: error: expected `)' before '::' token
main.mm:15: error: expected `,' or `;' before '::' token

anyways.. this same file compiles correctly as a .m

#include <objc/Object.h>

@interface Foo : Object
-(int)foo:(id)bar :(id)baz;
@end

@implementation Foo
-(int)foo:(id)bar :(id)baz
{
  return 0;
}
@end

int main()
{
  SEL foo = @selector(foo::);
  return 0;
}

-- 
           Summary: obj-c++ parser error with multi-colon selectors
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ratmice at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16816


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-09-08 13:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-29  5:16 [Bug other/16816] New: obj-c++ parser error with multi-colon selectors ratmice at yahoo dot com
2004-07-29  5:25 ` [Bug objc++/16816] " pinskia at gcc dot gnu dot org
2004-08-13  2:28 ` pinskia at gcc dot gnu dot org
2005-07-02  2:14 ` pinskia at gcc dot gnu dot org
2005-07-02  2:52 ` zlaski at apple dot com
2005-09-03  1:18 ` pinskia at gcc dot gnu dot org
2005-09-03  1:31 ` pinskia at gcc dot gnu dot org
2005-09-03 13:03 ` pinskia at gcc dot gnu dot org
2005-09-08 13:15 ` pinskia at gcc dot gnu dot org
2005-09-08 13:15 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).