aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mcpp.rb
diff options
context:
space:
mode:
authorJ. Brandt Buckley2013-09-25 17:14:01 -0700
committerAdam Vandenberg2013-09-26 22:46:28 -0700
commit1fb660b6f361e11dc87d4473e30842eb6187a219 (patch)
tree9f2e38692c57e76c23c1d10d8e3ac48d407aded2 /Library/Formula/mcpp.rb
parenta505360897a0b2c75b8b161797ee22402697a53a (diff)
downloadhomebrew-1fb660b6f361e11dc87d4473e30842eb6187a219.tar.bz2
bbcp: fix implicit int build error with patch
This commit fixes a build failure caused by `main`'s use of an implicit `int` return type specifier. The embedded patch just makes the return type explicit. ISSUE As of C99, a declaration that lacks a type specifier isn't implicitly assumed to be int, which causes the build to fail with this error: bbcp.C:61:1: error: C++ requires a type specifier for all declarations main(int argc, char *argv[], char *envp[]) ^~~~ ENVIRONMENT - g++ : Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn) - OS : Mac OS X 10.8.5 (Build 12F37) NOTES - Confirmed Formula passes audit. - Also sent the patch to the upstream developer. Closes #22832. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/mcpp.rb')
0 files changed, 0 insertions, 0 deletions