I have a complex Qt project and by debugging I get plenty of
"Invalid parameter passed to C runtime function." outputs in console.
How can I disable this warning? Please help!
I have a complex Qt project and by debugging I get plenty of
"Invalid parameter passed to C runtime function." outputs in console.
How can I disable this warning? Please help!
I think I would disable it by finding out what is wrong with the code and fixing it. Warnings are there for a reason, and something like this usually means you are really doing something wrong.How can I disable this warning?
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
It is likely you can't, the warning is not coming from your code at compile/link time, it is coming from a Microsoft C runtime at run time. BTW, I am guessing you are on Windows.
There are known Microsoft bugs that cause this in Qt usage, e.g.
https://bugreports.qt.io/browse/QTBUG-70917, but we have no way to know if these apply to you.
Absent any useful detail in your post it is not possible to offer further assistance.
"We can't solve problems by using the same kind of thinking we used when we created them." -- Einstein
If you are posting code then please use [code] [/code] tags around it - makes addressing the problem easier.
d_stranz (24th March 2021)
Bookmarks