Clang++ stdlib/cstdlib.h workaround
Antonio Olivares
olivares14031 at gmail.com
Tue Jul 3 18:38:34 UTC 2018
Dear kind folks,
I have a cpp file that used stdlib.h and it compiled and ran successfully.
I am trying it out with clang and it returns errors that it cannot find
stdlib.h, I remove the stdlib.h include statement and it still complains.
I made a copy of the c++ file and it compiles and runs correctly, but I
removed some stuff " --- " and only output the numbers. How do I deal with
stdlib.h requirements?
The program finds numbers that are triangular and square. It fails for
numbers that are bigger than 2147483647.
Thanks for ideas/suggestions/advice provided.
Best Regards,
Antonio
More information about the freebsd-questions
mailing list