« EMC runs a real 5-axis machine | Newest entries | Analog inputs with Arduino and EMC »

Tags:
software linux funny
At the office, we have a saying: If your function takes more than 5 arguments, you forgot one. You can see the results of that mindset in this error message:
trade_secret.c: In function 'void f()':
trade_secret.h:187: error: too few arguments to function
    'void trade_secret(int, int, int, double, double, int, int, int,
        int, double, double, double, double, int, double, double,
        double, double, double, double, double, double, double, double,
        double, double, double, double, double, int, double, double*,
        double*, int*, int*, int*, int*, int*, double*, int*, int*,
        double*, double*, double*, int*, double*, double*, double*,
        double*, int*, int*, int*, int*, int*, int)'
trade_secret.c:9: error: at this point in file



Entry first conceived on 21 December 2007, 21:28 UTC, last modified on 19 March 2009, 16:48 UTC



Powered by the Emergent Properties of Meat. Copyright © 2004-2010 Jeff Epler
[æ]