Skip to content

Conflict with pre-included Arduino.h (the indirect includes thereof) #6853

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

Merged
merged 2 commits into from
Nov 28, 2019

Conversation

dok-net
Copy link
Contributor

@dok-net dok-net commented Nov 28, 2019

Fixes #6852

Copy link
Collaborator

@d-a-v d-a-v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is a conflict with a (famous) external NTP library,
we can try to use #include <../include/time.h> instead

@mcspr
Copy link
Collaborator

mcspr commented Nov 28, 2019

Yep, note of the #6730 that fixed conflicts with TimeLib
<time.h> === <Time.h> for case insensitive filesystems on mac and windows, idk though if that depends on build system (pio, ide, clion etc.) and how it composes -I<dir> for the compiler

@d-a-v
Copy link
Collaborator

d-a-v commented Nov 28, 2019

To check if lwip1 is enabled: example.

#include "lwip/init.h" // LWIP_VERSION_

@devyte devyte merged commit 22b2687 into esp8266:master Nov 28, 2019
@devyte devyte added this to the 2.7.0 milestone Nov 28, 2019
@dok-net dok-net deleted the sntp-lwip2-redefines branch November 28, 2019 19:00
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

Successfully merging this pull request may close these issues.

Conflicting type definition depending on include order
4 participants