Results 1 to 4 of 4

Thread: Compile error: missing type specifier - int assumed

  1. #1

    Default Compile error: missing type specifier - int assumed

    A project I am working compiles fine and then started crashing with the error, "DLL entry not found." I re-installed Qt eventually and when I compile again, I receive an error for all signal definitions, "error: C4430: missing type specifier - int assumed. Note: C++ does not support default-int." I receive the same errors for the signal definitions in another project. I also receive a warning with each error, "warning: C4183: 'signalFunction': missing return type; assumed to be a member function returning 'int'." How do I get this compiling?
    Last edited by vanillac; 23rd March 2015 at 20:09.

  2. #2
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Compile error: missing type specifier - int assumed

    Sounds like you have a broken installation. Is the dll that is not found a Qt dll or something else?

  3. #3

    Default Re: Compile error: missing type specifier - int assumed

    I fixed the DLL error with the re-installation and now I receive the "missing type specifier" error.

  4. #4
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Compile error: missing type specifier - int assumed

    Are the errors in a header file or your code? Pls post the relevant code/headers that show this error (using [code][/code] tags please.

Similar Threads

  1. Replies: 4
    Last Post: 4th July 2014, 14:57
  2. Replies: 1
    Last Post: 18th July 2012, 23:32
  3. Replies: 2
    Last Post: 28th February 2011, 23:14
  4. expected type-specifier | not declared in this scope
    By Alain Delon in forum General Programming
    Replies: 2
    Last Post: 23rd February 2011, 07:17
  5. Replies: 12
    Last Post: 28th May 2010, 00:07

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.