bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 2013 in lilypond: clang error flower/file-name.cc


From: lilypond
Subject: Re: Issue 2013 in lilypond: clang error flower/file-name.cc
Date: Fri, 04 Nov 2011 16:35:20 +0000


Comment #11 on issue 2013 by address@hidden: clang error flower/file-name.cc
http://code.google.com/p/lilypond/issues/detail?id=2013

agreed. And... unless my old eyes are fooling me... the .hh file contains an int main(), which returns an instance of the yaffut Factory? huh? I had no clue you could even *have* an int main() which returned a pointer. Or is this an abuse of the C or C++ standard?

... you know, I'm honestly wondering if yaffut.hh was a deliberate entry to the obfuscated C contest, or written on a dare while drunk and/or high. It really smells like the kind of thing that could be done in 50 lines of python (or perl, if that's your thing). I mean, what *is* that file doing? It only appears to be used in flower/test-file-name.cc... surely we don't have yaffut.hh in our source tree just to check if we can handle various types of filenames ???




reply via email to

[Prev in Thread] Current Thread [Next in Thread]