Skip to content

libc_replacements.c:408:22: warning: 'struct tm' declared inside parameter list #740

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
Juppit opened this issue Sep 1, 2015 · 1 comment

Comments

@Juppit
Copy link
Contributor

Juppit commented Sep 1, 2015

With the latest version I get this new warning on windows:
C:\Users\Peter\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-1089-gf9b86c7\cores\esp8266\libc_replacements.c:408:22: warning: 'struct tm' declared inside parameter list [enabled by default]
time_t mktime(struct tm *timp) {
^
C:\Users\Peter\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-1089-gf9b86c7\cores\esp8266\libc_replacements.c:408:22: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]

Unfortunately, my skills are not as good to fix this.
Of course, I'm ignoring this warning at the time.

@igrr
Copy link
Member

igrr commented Sep 1, 2015

Thanks, I'm aware of that. You can safely ignore this warning, I'll fix it along with the next round of TLS-related stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants