U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Problem with gcc compilers and -Wall
Problem with gcc compilers and -Wall [message #28589] Wed, 08 September 2010 09:03 Go to previous message
koldo is currently offline  koldo
Messages: 3461
Registered: August 2008
Senior Veteran
Hello Mirek

In some recent posts it has been oberrved that code compiled with gcc/minqw had non void functions without a return.

This problem is easy to have and produce strange errors.

It would be great if you could add "-Wreturn-type" parameter when using gcc/mingw compiler.

In the same way, the "-Wall" could be considered. Perhaps it is pedantic, but it make sense as many little warnings can produce weird errors.


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is there way to get subrange of a vector quickly?
Next Topic: Is there linked list in u++?
Goto Forum:
  


Current Time: Wed Sep 16 02:37:25 GMT+2 2026

Total time taken to generate the page: 0.00695 seconds