News for hackers. Stuff that matters.
Re:C, C++, x86/x64 assembly: The case of forgotten return by saagarjha on Friday December 14, 2018 @07:19PM (#18686120)
It seems like GCC 8 warns me by default, so someone must have realized that this was stupid:

  $ pbpaste | g++-8 -x c++ -
  <stdin>: In function 'color* create_color(int, int, int)':
  <stdin>:19:1: warning: no return statement in function returning non-void [-Wreturn-type]

There are no comments on this comment yet.