What am I missing? The names of the threads, queues, etc. are prototyped as char*.
Gary Doe
0
Reputation points
But this causes an issue because one shouldn't (it violates sane rules) cast a "const char*" to a "char*". This would be necessary of you use a literal string in the call to the function. I locally changed all the prototypes for the thread create and the issue goes away.
But I am wondering why it isn't like that to begin with.
My mod:
Sign in to answer