cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32 Embedded GUI Lib V2.0.0

divner
Associate II
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
13 REPLIES 13
Posted on April 02, 2013 at 15:55

Note that this thread is very old.

ST recently anounced that they will be doing a ''free'' version of the Segger GUI library.

So - which library are we actually talking about now?

Posted on April 02, 2013 at 15:55

Another duplicate post due to stupid forum software

a9d
Associate II
Posted on April 02, 2013 at 16:24

So  ST can give Free emWin ? 

Posted on April 03, 2013 at 00:47

You should speak to your local FAE or distributor to get the precise details of the deal.

You could also try googling - it was anounced at Embedded World...