JanBurg Community Member

  • Member since Mar 14th 2019
Last Activity

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • JanBurg -

    Replied to the thread Error in DECLARE_CREATE_FROM_STREAM after editing GUI.h.

    Post
    Hi Florian, as I mentioned before the project ran without such problems for years. This year STM32CubeIDE switched to GCC 10. This was the latest change which might have caused the issue. Regards Jan
  • JanBurg -

    Replied to the thread Error in DECLARE_CREATE_FROM_STREAM after editing GUI.h.

    Post
    Hello Florian, yes its GCC based. I was asking about "##" because this is the only place in my project where it occurs. There is not much of an error shown. See attached screenshot with the faulty lines and the error messages. Regards Jan
  • JanBurg -

    Replied to the thread Error in DECLARE_CREATE_FROM_STREAM after editing GUI.h.

    Post
    Thank you for your answer. I am using STM32CubeIDE 1.9.0. Regards Jan
  • JanBurg -

    Replied to the thread Error in DECLARE_CREATE_FROM_STREAM after editing GUI.h.

    Post
    Are the two '#' characters in GUI_CreateBitmapFromStream##ID(GUI_BITMAP * pBMP, GUI_LOGPALETTE * pPAL, const void * p) a possible issue for the compiler? Jan
  • JanBurg -

    Replied to the thread Error in DECLARE_CREATE_FROM_STREAM after editing GUI.h.

    Post
    Hi Florian, I also don't believe that changing some color values caused the issue. The changes probably just triggered the recompilation of GUI.h. I replaced the file with the original unchanged GUI.h. Even then I get the same problem. It only runs when…
  • JanBurg -

    Posted the thread Error in DECLARE_CREATE_FROM_STREAM after editing GUI.h.

    Thread
    Dear Segger Team, I have edited some color definitions in GUI.h. After recompilation I am now getting errors in an unexpected location. The 24 lines under #define DECLARE_CREATE_FROM_STREAM(ID) int GUI_CreateBitmapFromStream##ID(GUI_BITMAP * pBMP,…