[Qt-interest] Lots of warning with QtEmbedded-4.5 and gcc-3.4.3

Abdelrazak Younes younes.abdel at gmail.com
Thu Jan 29 12:07:07 CET 2009


Abdelrazak Younes wrote:
> Hello,
>
> I am trying to compile latest QtEmbedded-4.5 with montavista gcc-3.4.3 
> and I get a lot of warning (ex: see below). Are these safe to ignore 
> or is a newer gcc required?
Some more warnings; I guess those are harmless:

rendering/RenderContainer.cpp: In member function `virtual void 
WebCore::RenderContainer::addLineBoxRects(WTF::Vector<WebCore::IntRect, 
0u>&, unsigned int, unsigned int, 
bool)':                                                      
rendering/RenderContainer.cpp:666: warning: passing `float' for 
converting 2 of `virtual void 
WebCore::RenderObject::absoluteRects(WTF::Vector<WebCore::IntRect, 0u>&, 
int, int, bool)'                                                
rendering/RenderContainer.cpp:666: warning: passing `float' for 
converting 3 of `virtual void 
WebCore::RenderObject::absoluteRects(WTF::Vector<WebCore::IntRect, 0u>&, 
int, int, bool)'                                                
rendering/RenderContainer.cpp:677: warning: passing `float' for 
converting 2 of `virtual void 
WebCore::RenderObject::absoluteRects(WTF::Vector<WebCore::IntRect, 0u>&, 
int, int, bool)'                                                
rendering/RenderContainer.cpp:677: warning: passing `float' for 
converting 3 of `virtual void 
WebCore::RenderObject::absoluteRects(WTF::Vector<WebCore::IntRect, 0u>&, 
int, int, bool)'       

rendering/RenderFlow.cpp: In member function `virtual WebCore::IntRect 
WebCore::RenderFlow::localCaretRect(WebCore::InlineBox*, int, 
int*)':                                                                                            

rendering/RenderFlow.cpp:693: warning: converting to `int' from 
`float'                                            
rendering/RenderFlow.cpp: In member function `virtual void 
WebCore::RenderFlow::addFocusRingRects(WebCore::GraphicsContext*, int, 
int)':                                                                                                

rendering/RenderFlow.cpp:729: warning: passing `float' for converting 2 
of `virtual void 
WebCore::RenderObject::addFocusRingRects(WebCore::GraphicsContext*, int, 
int)'                                                                
rendering/RenderFlow.cpp:729: warning: passing `float' for converting 3 
of `virtual void 
WebCore::RenderObject::addFocusRingRects(WebCore::GraphicsContext*, int, 
int)'    




More information about the Qt-interest-old mailing list