PDA

View Full Version : Function with parameter but empty return(return;) in Qt 4.8.4 and Qt 4.7.4



Ryuuji
2nd January 2013, 09:33
Hi guys!

We encountered error in compiling our code in Qt 4.8.4 and Qt 4.7.4.

This portion of our code gives error in 4.8.4 but works good in 4.7.4:

.cpp
void Functiontry::functionparamnoreturn(int paramtry)
{
return;
}

Can someone help me solving this issue and also explain why is this happening.


Thanks in Advance Guys!

Happy New Year!

Santosh Reddy
2nd January 2013, 09:48
Can you post the error?