Thread: error: expected specifier-qualifier-list before ' ... '

  1. #1
    Eager young mind
    Join Date
    Jun 2006

    error: expected specifier-qualifier-list before ' ... '

    I am trying to add a new module to an open-source software. At the compile time, I observe many errors of type
    error: expected specifier-qualifier-list before ' ... '
    pointing to lines that are seemingly normal and having legal references. What does this error actually mean?

    In the middle of difficulty, lies opportunity

  2. #2
    Join Date
    Oct 2007
    Inside my computer
    You should post the a sample that demonstrates it.
    It usually means you tried to use a type or keyword that doesn't exist and so the compiler barks another error after the syntax error because it was expecting a type or keyword but couldn't find one.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Link List math
    By t014y in forum C Programming
    Replies: 17
    Last Post: 02-20-2009, 06:55 PM
  2. instantiated from here: errors...
    By advocation in forum C++ Programming
    Replies: 5
    Last Post: 03-27-2005, 09:01 AM
  3. How can I traverse a huffman tree
    By carrja99 in forum C++ Programming
    Replies: 3
    Last Post: 04-28-2003, 05:46 PM
  4. List class
    By SilasP in forum C++ Programming
    Replies: 0
    Last Post: 02-10-2002, 05:20 PM
  5. singly linked list
    By clarinetster in forum C Programming
    Replies: 2
    Last Post: 08-26-2001, 10:21 PM