Home » U++ Library support » U++ Core » Gcc compile option proposal
Gcc compile option proposal [message #39090] |
Thu, 14 February 2013 19:33 |
Didier
Messages: 681 Registered: November 2008 Location: France
|
Contributor |
|
|
Hi all,
While doing some corrections for MSC on code developped using GCC I noticed that MSC gives an error when we forget to return a value in a function that requires one.
int myFunction()
{
printf("Hello World !!");
// no return value
}
This code does not compile in MSC while it compile perfectly in GCC when using Theide.
I think we should add the following option to GCC config:
With this GCC and MSC have the same compilation behaviour.
|
|
|
|
|
Gcc compile option proposal
By: Didier on Thu, 14 February 2013 19:33
|
|
|
Re: Gcc compile option proposal
By: mirek on Thu, 14 February 2013 20:08
|
|
|
Re: Gcc compile option proposal
|
|
|
Re: Gcc compile option proposal
By: mirek on Thu, 14 February 2013 20:48
|
|
|
Re: Gcc compile option proposal
By: Didier on Thu, 14 February 2013 21:10
|
|
|
Re: Gcc compile option proposal
|
|
|
Re: Gcc compile option proposal
By: mirek on Thu, 14 February 2013 23:01
|
|
|
Re: Gcc compile option proposal
By: mirek on Thu, 14 February 2013 23:21
|
|
|
Re: Gcc compile option proposal
By: mirek on Thu, 14 February 2013 23:31
|
|
|
Re: Gcc compile option proposal
|
|
|
Re: Gcc compile option proposal
By: mirek on Fri, 15 February 2013 08:33
|
|
|
Re: Gcc compile option proposal
By: unodgs on Fri, 15 February 2013 11:11
|
|
|
Re: Gcc compile option proposal
By: Didier on Fri, 15 February 2013 17:50
|
|
|
Re: Gcc compile option proposal
|
|
|
Re: Gcc compile option proposal
By: mirek on Sat, 16 February 2013 18:28
|
|
|
Re: Gcc compile option proposal
By: mirek on Sat, 16 February 2013 11:16
|
|
|
Re: Gcc compile option proposal
|
|
|
Re: Gcc compile option proposal
By: mirek on Fri, 15 February 2013 19:25
|
Goto Forum:
Current Time: Mon Jun 17 07:29:59 CEST 2024
Total time taken to generate the page: 0.02065 seconds
|