Question
Stm32 Embedded GUI Lib V2.0.0
Posted on October 27, 2011 at 08:20
Hi
Whilst compiling the demo with warnings enabled I get the following error ''src/graphicObject.c:1476:7: warning: the address of 'pPage' will always evaluate as 'true''' This error is associated with the following from source file graphicObject.c GL_ErrStatus DestroyPageControl ( GL_Page_TypeDef* pPage, uint16_t ID ) { uint32_t index = 0; if (!&pPage) { return GL_ERROR; } ..... ...... } What is being tested here?, the pointer or the address of the pointer? Appreciate if somebody from the MCD Application Team could have a look at this. There are also numerous other warnings being emitted from the library which clutter the output from the compiler (gcc in my case) and which make developing with the library most irritating. I noted that the tool vendor's solution is to disable all warnings (most useful). Best regards, Noel Diviney. #gui #don't-hijack-old-threads #when-will-gui-lib-forstm32f4? #setting-a-bad-example