lh_mouselh_mo...@126.com writes:
EDIT: since C99, reaching the } that terminates the main function returns a
value of 0.
'The returned value is undefined' is not true. If the return value is used(in
the case of main(),
the host environment cares about it),
I already said that undefined
2014-07-22 23:37 GMT+02:00 Ray Donnelly mingw.andr...@gmail.com:
Hello,
While porting msysGit to MSYS2/MinGW-w64 we ran into this:
$ PATH=/mingw64/bin:$PATH gcc --version
gcc.exe (Rev1, Built by MSYS2 project) 4.9.1
$ cat test.c
#include unistd.h
static inline pid_t fork(void);
void
Hi Ruben,
Please take this in the friendly/jokey manner it is intended.
This isn't the first time you corrected me on the return value from
main when I'm making a test-case to demonstrate a compiler issue; I
honestly couldn't care less and my goal is to use the minimum amount
of characters and
Ray Donnelly mingw.andr...@gmail.com
writes:
Hi Ruben,
Please take this in the friendly/jokey manner it is intended.
This isn't the first time you corrected me on the return value from
main when I'm making a test-case to demonstrate a compiler issue; I
honestly couldn't care less and my
2014-07-23 13:32 GMT+02:00 Óscar Fuentes o...@wanadoo.es:
Ray Donnelly mingw.andr...@gmail.com
writes:
Hi Ruben,
Please take this in the friendly/jokey manner it is intended.
This isn't the first time you corrected me on the return value from
main when I'm making a test-case to
On 7/23/2014 4:39 AM, Ruben Van Boxem wrote:
2014-07-23 13:32 GMT+02:00 Óscar Fuentes o...@wanadoo.es
mailto:o...@wanadoo.es:
Ray Donnelly mingw.andr...@gmail.com mailto:mingw.andr...@gmail.com
writes:
Hi Ruben,
Please take this in the friendly/jokey manner it is
;
--
Best regards,
lh_mouse
2014-07-24
-
发件人:Suresh Govindachar sgovindac...@yahoo.com
发送日期:2014-07-24 09:53
收件人:mingw-w64-public
抄送:
主题:Re: [Mingw-w64-public] fork is an inbuilt function?
Well, I too was about to write
Suresh Govindachar
sgovindac...@yahoo.com writes:
This isn't the first time you corrected me on the return value from
main when I'm making a test-case to demonstrate a compiler issue; I
honestly couldn't care less and my goal is to use the minimum amount
of characters
:Re: [Mingw-w64-public] fork is an inbuilt function?
Apart from what lh_mouse says about C++, in C if your function is
declared to return an int and there is no return statement the returned
value is undefined (not to be confused with undefined behavior, which
only happens on this case if you *use
Hello,
While porting msysGit to MSYS2/MinGW-w64 we ran into this:
$ PATH=/mingw64/bin:$PATH gcc --version
gcc.exe (Rev1, Built by MSYS2 project) 4.9.1
$ cat test.c
#include unistd.h
static inline pid_t fork(void);
void main() {}
$ PATH=/mingw64/bin:$PATH gcc test.c
test.c:2:21: warning:
10 matches
Mail list logo