libqtlua-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libqtlua-list] Compilation Warnings in QtLua


From: Gustavo de Sá Carvalho Honorato
Subject: [Libqtlua-list] Compilation Warnings in QtLua
Date: Fri, 18 Feb 2011 21:31:13 -0200

Hi Alexander,

I've found this warnings in QtLua:

../dependencies/libqtlua-1.2.1/src/QtLua/qtluaref.hh:389:   instantiated from ‘void QtLua::Refobj<X>::_drop() const [with X = QtLua::UserData]’
../dependencies/libqtlua-1.2.1/src/QtLua/qtluaref.hh:254:   instantiated from ‘QtLua::Ref<X, Xnoconst>::~Ref() [with X = QtLua::Iterator, Xnoconst = QtLua::Iterator]’
../dependencies/libqtlua-1.2.1/src/QtLua/qtluavalue.hxx:535:   instantiated from here
../dependencies/libqtlua-1.2.1/src/QtLua/qtluaref.hh:404: warning: unused parameter ‘count’

../dependencies/libqtlua-1.2.1/src/QtLua/qtluaref.hh:370:   instantiated from ‘void QtLua::Refobj<X>::_inc() const [with X = QtLua::UserData]’
../dependencies/libqtlua-1.2.1/src/QtLua/qtluaref.hh:151:   instantiated from ‘QtLua::Ref<X, Xnoconst>::Ref(const QtLua::Ref<Xnoconst, Xnoconst>&) [with X = QtLua::Iterator, Xnoconst = QtLua::Iterator]’
../dependencies/libqtlua-1.2.1/src/QtLua/qtluavalue.hh:76:   instantiated from here
../dependencies/libqtlua-1.2.1/src/QtLua/qtluaref.hh:396: warning: unused parameter ‘count’ 

../dependencies/libqtlua-1.2.1/src/QtLua/qtluavalue.hxx:112: warning: unused parameter ‘st’


They are very simple to solve, just neet to put Q_UNUSED in st and count variables. I could do this and submit a patch. It's ok or you prefer to solve this by yourself?

Thanks,
Gustavo

reply via email to

[Prev in Thread] Current Thread [Next in Thread]