cancel
Showing results for 
Search instead for 
Did you mean: 

Unknown warnings

vbk22398
Associate III

Screenshot 2024-08-21 112214.png

 I am getting the above warning! I am unable to find what is causing the issue. If I comment the line number 5442, then no warnings or no errors. Help me resolve this issue.

4 REPLIES 4
Passerby
Associate III

Please take a screenshot of your warning details

gbm
Lead III

The warning text says it explicitly - just read it. You have two different #defines of the same symbol. One is unconditional, the other one conditional - make them both conditional/exclusive using #ifdef -- #else -- #endif.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice

@Passerby wrote:

Please take a screenshot of your warning details


No, please don't use screenshots - copy and paste as text, as for code:

https://community.st.com/t5/stm32-mcus-boards-and-hardware/nucleo-f767zi-ethernet-problem/m-p/703634/highlight/true#M20574:~:text=A%20screenshot%20is,code%20%2D%20instructions%20here%3A

 

TDK
Guru

@gbm gave you the answer, but also note than you can hover over the line in question to read what the warning message is, or view the output of the Console tab to see the message. You don't have to be in the dark.

If you feel a post has answered your question, please click "Accept as Solution".