cancel
Showing results for 
Search instead for 
Did you mean: 

There are compilation errors in: STM32F769I_EVAL Example TouchGFX How can I fix it ? Thank you in advance Daniel Abad

DAbad.1
Associate III

The problem is located in:

AudioPlayerPresenter.cpp

102  strncpy(copy, fullname, 50);

'char* strncpy(char*, const char*, size_t)' specified bound 50 equals destination size [-Werror=stringop-truncation] AudioPlayerPresenter.cpp /TouchGFX/Application/User/TouchGFX/gui line 102 C/C++ Problem

5 REPLIES 5
Amel NASRI
ST Employee

Hi @DAbad.1​ ,

Which STM32CubeF7 version are you using? Which IDE please?

I need these details to report issue to development team.

Thanks.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hi Amel, 1-   STM32CubeIDE 1.7.0 2-  Cube : Last version 3-  STM32F779I_EVAL     with     STM32F779I Best Regards Daniel Julio Abad Il lunedì 9 agosto 2021, 12:24:30 CEST, ST Community ha scritto: Hi @DAbad.1​ , Which STM32CubeF7 version are you using? Which IDE please?I need these details to report issue to development team. Thanks. -Amel Hi @DAbad.1 (Community Member)​ ,   Which STM32CubeF7 version are you using? Which IDE please? I need these details to report issue to development team.   Thanks.   -Amel There are compilation errors in: STM32F769I_EVAL Example TouchGFX How can I fix it ? Thank you in advance Daniel Abad The problem is located in: AudioPlayerPresenter.cpp   102  strncpy(copy, fullname, 50);     'char* strncpy(char*, const char*, size_t)' specified bound 50 equals destination size [-Werror=stringop-truncation] AudioPlayerPresenter.cpp /TouchGFX/Application/User/TouchGFX/gui line 102 C/C++ Problem   Hi @DAbad.1 (Community Member)​ ,   Which STM32CubeF7 version are you using? Which IDE please? I need these details to report issue to development team.   Thanks.   -Amel To change or turn off ST Community email, log in as danieljabad@yahoo.it.st. STMicroelectronics N.V.
MMin.1
Associate

Any progress on this?

Osman SOYKURT
ST Employee

Hello MMin.1,

I'm also interested on that. Unfortunately this is not a project that TouchGFX Team maintain, so I don't have much infos.

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX
Hi,I have just fixed it ... using the ideas of community...I am serching ....for my fixed  files .. When i will found it ... I will send you... Please be patient... Greetings... Daniel Julio Abad Il giovedì 30 giugno 2022 01:48:03 CEST, ST Community ha scritto: Any progress on this? Any progress on this? There are compilation errors in: STM32F769I_EVAL Example TouchGFX How can I fix it ? Thank you in advance Daniel Abad The problem is located in: AudioPlayerPresenter.cpp   102  strncpy(copy, fullname, 50);     'char* strncpy(char*, const char*, size_t)' specified bound 50 equals destination size [-Werror=stringop-truncation] AudioPlayerPresenter.cpp /TouchGFX/Application/User/TouchGFX/gui line 102 C/C++ Problem   Any progress on this? To change or turn off ST Community email, log in as danieljabad@yahoo.it.st. Are notifications about this post getting annoying? Reply to this email with the word " mute". STMicroelectronics N.V.