The C++Builder 3 Easter Eggs are much the same as those found in
Delphi 3.
However, there are three additional ones.
C:\Tools\CBuilder3\Bin>bcc32 -Team Borland C++ 5.3 for Win32 Copyright (c) 1993, 1998 Borland International It's the compiler team! Peter Sollich Keimpe Bronkhorst John Wiegley Jesper Boelsmand Herbert Czymontek Eli Boling Error: Incorrect command line option: -Team
#pragma curious_george int main() { return 0; }
C:\Tools\CBuilder3\Bin>bcc32 egg.cpp Borland C++ 5.3 for Win32 Copyright (c) 1993, 1998 Borland egg.cpp: No eating puzzle pieces!
This message will only be displayed in the IDE if the Show general messages option on the Compiler page of the project options dialog is checked.
#pragma gpfault prettyplease int main() { return 0; }
E:\Tools\CBuilder3\Bin>bcc32 egg.cpp Borland C++ 5.3 for Win32 Copyright (c) 1993, 1998 Borland International c:egg.cpp: Fatal c:egg.cpp 3: Internal compiler error at 0x42af63 with base 0x400000 Fatal c:egg.cpp 3: Internal compiler error
This option appears to be used to test the resilience of the IDE against Access Violations. If you compile a source file like this in the IDE, the initial compilation and any use of Code Completion (which invokes a partial background compilation) will give similar errors.
Click here to return to the Easter Eggs main page