Tool/software: Code Composer Studio
Hi. Have the srand and rand functions been removed from stdlib.h?
I am attempting to update a project done 6+ years ago and keep getting
"function declared implicitly" warnings.
Thanks for any information.
Dennis
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Hi. Have the srand and rand functions been removed from stdlib.h?
I am attempting to update a project done 6+ years ago and keep getting
"function declared implicitly" warnings.
Thanks for any information.
Dennis
Dennis Goggans said:Hi. Have the srand and rand functions been removed from stdlib.h?
They should still be included. I see it in the 18.12.2.LTS version. You can check for yourself by looking at the runtime library sources for the version of compiler you are using. They will be in the \lib\src directory within the compiler installation.