c++ and libc

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Guys I have the c++ working perfectly if I do not link libc.  But then I don't have prinf ect...  which I want.

If I link the libc library, printf ect work but if I call a c++ temeplate function, for test purposes or exceptions and lists the the system fails when an interrupt occurs.

 

Any suggestions would be greatly appreciated...

 

HELP!

Last Edited: Sat. Feb 22, 2020 - 11:30 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Don't start another thread when this seems to be discussed here:

 

https://community.atmel.com/foru...

 

JIm

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

Topic locked