Sign in to follow this  
ttdeath

Funniest compile/link errors

Recommended Posts

ttdeath    100
Hi, I've got many funny errors over the years, so I thought of creating a thread to wake up some engineers writing compilers about "usefull messages". Here goes one of my latest errors: Do you have anything funnier?

Share this post


Link to post
Share on other sites
CTar    1134
I have never got anything really funny (, or funny at all), the funniest I got was something like (from memory):

Fatal Error CXXXX: Compilation stopped due to too many errors.

Share this post


Link to post
Share on other sites
frob    44975
Quote:
Original post by ttdeath
I've got many funny errors over the years,
so I thought of creating a thread to wake up
some engineers writing compilers about "usefull messages".

I'm not sure about "usefull". [wink]

I don't like any error message. I would describe these as annoying rather than funny.

ICE. I've seen them from Microsoft, Intel, Borland, and Metrowerks. They generally mean you get to spend a few hours diagnosing bugs in their code and hoping that either you can find a work-around, or that their people can find one when you contact them.

Internal Compliler Error. Contact somebody@vendor.com.

Another is the lack of error messages. It's even worse when there is no line number associated with them.

Error xxxx: Documentation Pending.
Error xxxx:
Error xxxx: Mike -- come up with a good description for this

frob.

Share this post


Link to post
Share on other sites
Stompy9999    792
Quote:
Original post by CTar
I have never got anything really funny (, or funny at all), the funniest I got was something like (from memory):

Fatal Error CXXXX: Compilation stopped due to too many errors.


I got something similar when I was working with Dev-C++. It told me to "please fix your code, there are too many errors".

It made me sad...

Share this post


Link to post
Share on other sites
Zahlman    1682
With g++ 2.9x, I was once able to get the dreaded "Confused by earlier errors; bailing out" as the first and only reported error.

You might also enjoy these, from the MPW (Macintosh Programmers' Workshop) C compiler.

Share this post


Link to post
Share on other sites
lancekt    348
I got the following from VC++ a couple months ago:

Quote:

'!' : illegal on operands of type 'bool'


Apparently my whole knowledge of C++ programming is wrong!

Share this post


Link to post
Share on other sites
Flimflam    665
Quote:
Original post by Zahlman
With g++ 2.9x, I was once able to get the dreaded "Confused by earlier errors; bailing out" as the first and only reported error.

You might also enjoy these, from the MPW (Macintosh Programmers' Workshop) C compiler.


Those are hillarious.

Share this post


Link to post
Share on other sites
njpaul    367
I got a System.ExecutionEngineException once and the first sentance of the remarks in the documentation said "Execution engine errors are fatal errors that should never occur". I had to restart the entire project.

Share this post


Link to post
Share on other sites
ttdeath    100
@frob, lack of error messages, or errors in my code worries me most :)

My very first funnny error was back on the time of Spectrum Z80 computers.
I've got an "Unknown DOS command", and DOS wasn't even invented yet :))

Share this post


Link to post
Share on other sites
Wan    1366
At work, we tend to send around screenshots of a strange error messages whenever we encounter one.
This is my last one:

Share this post


Link to post
Share on other sites
odi    104
I once got an error:
"WTF? Are you kidding? I'm not even gonna look at this!"
































And maybe i just made it up. :P

Share this post


Link to post
Share on other sites
Alex    122
This is the most obscure error I think I've ever seen:

A reference that is not to 'const' cannot be bound to a non-lvalue

With so many negatives I had a hard time deciding if this was actually a sentence.

Share this post


Link to post
Share on other sites
comedypedro    134
Quote:
Original post by ttdeath

My very first funnny error was back on the time of Spectrum Z80 computers.


Those where the days....

Remember B - Integer out of range.

Technically not a compiler error but an interpreter error but hey

Share this post


Link to post
Share on other sites
sirGustav    588
Here are some I got w/ vs6 (latest sp):

Quote:

c:\nonstopaction\nsa\chuman.cpp(79) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'YÃ', line 1)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information


no sourcecode aviable, but restarting the compiler helped.

-----

Quote:

main.cpp
D:\dev\game\bkgamewin\main.cpp(372) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1794)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Error executing cl.exe.

main.obj - 1 error(s), 0 warning(s)



SpriteManager::SpriteManager(IdentifierGenerator& p_identifierGenerator,
ImageManager& p_imageManager)
: m_identifierGenerator(p_identifierGenerator),
m_imageManager(p_imageManager){
}
SpriteManager::~SpriteManager // line 372
// adding a { fixed the internal compiler error :)
}
void SpriteManager::clear() {
}

Share this post


Link to post
Share on other sites
Code-R    136
Quote:
Original post by JohnBolton
Quote:

warning 0187: pointless comparison of unsigned integer with zero


I think it's funny when the compiler calls your code "pointless".


No. It's Humiliating!
;)

Share this post


Link to post
Share on other sites
dbzprogrammer    100
I got a really wierd one trying to compile this code:


Windows '98 source code.
/*
TOP SECRET Microsoft(c) Code
Project: Chicago(tm)
Projected release-date: Summer 1994
*/


#include "win31.h"
#include "win95.h"
#include "evenmore.h"
#include "oldstuff.h"
#include "billrulz.h"
#define INSTALL = HARD

char make_prog_look_big[1600000];

void main()

while(!CRASHED)

display_copyright_message();
display_bill_rules_message();
do_nothing_loop();
if (first_time_installation)

make_50_megabyte_swapfile();
do_nothing_loop();
totally_screw_up_HPFS_file_system();
search_and_destroy_the_rest_of_OS/2();
hang_system();
}
write_something(anything);
display_copyright_message();
do_nothing_loop();
do_some_stuff();
if (still_not_crashed)

display_copyright_message();
do_nothing_loop();
basically_run_windows_3.1();
do_nothing_loop();
do_nothing_loop();
}
}

if (detect_cache())
disable_cache();

if (fast_cpu())

set_wait_states(lots);
set_mouse(speed, very_slow);
set_mouse(action, jumpy);
set_mouse(reaction, sometimes);
}

/* printf("Welcome to Windows 3.11"); */
/* printf("Welcome to Windows 95"); */
printf("Welcome to Windows 98");
if (system_ok())
crash(to_dos_prompt);
else
system_memory = open("a:\swp0001.swp", O_CREATE);

while(something)

sleep(5);
get_user_input();
sleep(5);
act_on_user_input();
sleep(5);
}
create_general_protection_fault();



Here's the error code:

main.cpp
C:\WINDOWSHACKED\main.cpp(ALL) : fatal error BILLGATESPWNSALL: STOP DECOMPILING OUR CODE
Error executing cl.exe.

main.obj - 1 error(s), 0 warning(s)

Share this post


Link to post
Share on other sites
hplus0603    11356
I remember getting the MPW C error about your window not being wide enough, and spreading the Worksheet across my dual 20" CRT monitors just to spite it ;-) Yeah, those were the olden days, when the Mac was almost alone in having a usable GUI and multi-monitor support.

Share this post


Link to post
Share on other sites
Baraclese    172
A few months ago I managed to receive a ridiculously long error message from gcc 3.4.4 while working on my mesh class. It came in at a whopping ~400KB with over 4000 lines on the console. It actually took my old computer 2 seconds to scroll this message down.
That sucked. Especially because I had to scroll up again to see the cause of the error.

Share this post


Link to post
Share on other sites
ttdeath    100
I've just remembered a not so funny erra':

"gdiplus::operator new: function does not take 3 arguments"

The problem was the wise _DEBUG_ redefinition of the "new" keyword
as a macro. 10x M$soft. Had to comment out the macro.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this