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

This is a discussion on error: expected specifier-qualifier-list before ' ... ' within the C Programming forums, part of the General Programming Boards category; I am trying to add a new module to an open-source software. At the compile time, I observe many errors ...

  1. #1
    Eager young mind
    Join Date
    Jun 2006
    Posts
    342

    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?

    Thanks
    In the middle of difficulty, lies opportunity

  2. #2
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,450
    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, 05:55 PM
  2. instantiated from here: errors...
    By advocation in forum C++ Programming
    Replies: 5
    Last Post: 03-27-2005, 08: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, 04:20 PM
  5. singly linked list
    By clarinetster in forum C Programming
    Replies: 2
    Last Post: 08-26-2001, 10:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21