Skip to content
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

Please change macro OMIT_DEPRECATED_FUNCTIONS to OMIT_ESP_DEPRECATED_FUNCTIONS #10682

Open
1 task done
ArminJo opened this issue Dec 4, 2024 · 1 comment
Open
1 task done
Labels
Status: Awaiting triage Issue is waiting for triage

Comments

@ArminJo
Copy link

ArminJo commented Dec 4, 2024

Board

N.a.

Device Description

N.a.

Hardware Configuration

N.a.

Version

latest master (checkout manually)

IDE Name

all

Operating System

all

Flash frequency

N.a.

PSRAM enabled

yes

Upload speed

N.a.

Description

I was clever and used the same OMIT_DEPRECATED_FUNCTIONS macro for my library, which leads to mysterious undefined reference to millis' and other similar errors.
Now I changed my macro to OMIT_BD_DEPRECATED_FUNCTIONS, but it took me 2 hours to find this error.

Sketch

N.a.

Debug Message

N.a.

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@ArminJo ArminJo added the Status: Awaiting triage Issue is waiting for triage label Dec 4, 2024
@ArminJo ArminJo changed the title Please change macro OMIT_DEPRECATED_FUNCTIONS to OMIT_ESP_BDDEPRECATED_FUNCTIONS Please change macro OMIT_DEPRECATED_FUNCTIONS to OMIT_ESP_DEPRECATED_FUNCTIONS Dec 4, 2024
@me-no-dev
Copy link
Member

Searching 1718 files for "OMIT_DEPRECATED_FUNCTIONS" (case sensitive)

0 matches

We do not have such definition in Arduino at all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Awaiting triage Issue is waiting for triage
Projects
None yet
Development

No branches or pull requests

2 participants