Pelles C > Bug reports

#include <unistd.h> + <process.h> -> not compilable

<< < (2/2)

frankie:

--- Quote from: TimoVJL on December 13, 2023, 09:57:49 AM ---It seems, that headers was mixed together.
From docs:

--- Code: ---// process.h
extern intptr_t __cdecl execv(const char *, const char * const []);
--- End code ---
https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/execv-wexecv?view=msvc-170


--- Code: ---// unistd.h
extern intptr_t __cdecl execv(const char *, char * const []);
--- End code ---
https://linux.die.net/man/3/execv

--- End quote ---
Yes, the problem is that MS is tollerant about those differences, while PellesC is stricly compliant with the standard and signal the error.
Anyway the SDK should be convergent to allow the use of both IMO.

Navigation

[0] Message Index

[*] Previous page

Go to full version