PDA

View Full Version : Compile error: missing type specifier - int assumed



vanillac
23rd March 2015, 21:04
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'." :confused: How do I get this compiling?

jefftee
23rd March 2015, 21:28
Sounds like you have a broken installation. Is the dll that is not found a Qt dll or something else?

vanillac
23rd March 2015, 21:34
I fixed the DLL error with the re-installation and now I receive the "missing type specifier" error.

jefftee
23rd March 2015, 21:46
Are the errors in a header file or your code? Pls post the relevant code/headers that show this error (using
tags please.