Thread: type specifier question

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    Storage class specifiers (IE extern, static, auto) should be first.

    Also, you used both extern AND static, which is not valid.

    EDIT: Hm, actually, I'm not sure if storage class specifiers HAVE to be first, but I was told they did a while back, and Comeau in strict mode issues a warning when they are not first.

    Still, try to keep the storage class specifiers first.
    Last edited by Polymorphic OOP; 01-21-2003 at 07:53 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Quantum Random Bit Generator
    By shawnt in forum C++ Programming
    Replies: 62
    Last Post: 06-18-2008, 10:17 AM
  2. failure to import external C libraries in C++ project
    By nocturna_gr in forum C++ Programming
    Replies: 3
    Last Post: 12-02-2007, 03:49 PM
  3. Replies: 28
    Last Post: 07-16-2006, 11:35 PM
  4. Question type program for beginners
    By Kirdra in forum C++ Programming
    Replies: 7
    Last Post: 09-15-2002, 05:10 AM
  5. Newbie question about the Private type in classes
    By Ryeguy457 in forum C++ Programming
    Replies: 1
    Last Post: 09-07-2002, 10:17 PM