Skip to main content
DAbad.1
Associate III
Question

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

This topic has been closed for replies.

5 replies

Amel NASRI
ST Technical Moderator

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 "Best Answer" on the reply which solved your issue or answered your question.
DAbad.1
DAbad.1Author
Associate III
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
Visitor II

Any progress on this?

DAbad.1
DAbad.1Author
Associate III
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.
Osman SOYKURT
ST Technical Moderator

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

ST Software Developer | TouchGFX