Skip to content

Instantly share code, notes, and snippets.

@doismellburning
Created March 2, 2014 14:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doismellburning/9307715 to your computer and use it in GitHub Desktop.
Save doismellburning/9307715 to your computer and use it in GitHub Desktop.
Odd `int foo() {}` warning when running `cabal configure`
$ # https://github.com/doismellburning/lux
$ make
cabal configure --enable-tests
Resolving dependencies...
Configuring lux-0.1.0.0...
/tmp/66923.c:1:12:
warning: control reaches end of non-void function [-Wreturn-type]
int foo() {}
^
1 warning generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment