Skip to content

bug when build project which new c lib #10649

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pengguiyong opened this issue Oct 17, 2018 · 2 comments
Closed

bug when build project which new c lib #10649

pengguiyong opened this issue Oct 17, 2018 · 2 comments
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: medium Medium impact/importance bug

Comments

@pengguiyong
Copy link

pengguiyong commented Oct 17, 2018

r: conflicting types for ‘remove’
 static void remove(struct _timeout *t)
             ^~~~~~
In file included from /home/pgy/learn/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/stm32f4xx_hal_def.h:48:0,
                 from /home/pgy/learn/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/stm32f4xx_hal_rcc.h:45,
                 from /home/pgy/learn/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/stm32f4xx_hal_conf.h:259,
                 from /home/pgy/learn/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/stm32f4xx_hal.h:46,
                 from /home/pgy/learn/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc/stm32f4xx.h:250,
                 from /home/pgy/learn/zephyr/soc/arm/st_stm32/stm32f4/soc.h:27,
                 from /home/pgy/learn/zephyr/include/arch/arm/cortex_m/cmsis.h:21,
                 from /home/pgy/learn/zephyr/arch/arm/include/cortex_m/stack.h:27,
                 from /home/pgy/learn/zephyr/arch/arm/include/kernel_arch_data.h:52,
                 from /home/pgy/learn/zephyr/kernel/include/kernel_structs.h:65,
                 from /home/pgy/learn/zephyr/kernel/include/ksched.h:10,
                 from /home/pgy/learn/zephyr/kernel/timeout.c:10:
/opt/zephyr-sdk/sysroots/armv5-zephyr-eabi/usr/include/stdio.h:227:5: note: previous declaration of ‘remove’ was here
 int _EXFUN(remove, (const char *));
@pengguiyong
Copy link
Author

redefine this function name will be ok
remove_tt(struct _timeout *t)

@erwango erwango added the platform: STM32 ST Micro STM32 label Oct 17, 2018
@nashif nashif added the bug The issue is a bug, or the PR is fixing a bug label Oct 18, 2018
@nashif nashif added the priority: medium Medium impact/importance bug label Oct 18, 2018
@nashif
Copy link
Member

nashif commented Oct 18, 2018

this is already fixed.

@nashif nashif closed this as completed Oct 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

4 participants