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

c++ support (GIT8266O-611) #1034

Closed
pdhage-dev opened this issue Jan 22, 2021 · 3 comments
Closed

c++ support (GIT8266O-611) #1034

pdhage-dev opened this issue Jan 22, 2021 · 3 comments

Comments

@pdhage-dev
Copy link

Hi,
does esp8266 rtos supports cpp code. I am not able to compile the code.
Thank you,

@github-actions github-actions bot changed the title c++ support c++ support (GIT8266O-611) Jan 22, 2021
@pdhage-dev
Copy link
Author

resolved by putting configurations in component.mk.

@grepson
Copy link

grepson commented Jan 24, 2024

@PranavD10
Can you share what flags were put into component.mk? I cannot resolve this problem myself.

@pdhage-dev
Copy link
Author

Hello @grepson,

I am not able to recall since I was working on it long time back. But It did compiled and worked fine.

I suggest you to put the main function call within extern. Also please share the error that you are getting while compiling if above method does not work.

Thank you,

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