How do you say "VC++ sucks" in VC++?

[prev] [thread] [next] [lurker] [Date index for 2006/12/18]

From: Yossi Kreinin
Subject: How do you say "VC++ sucks" in VC++?
Date: 09:21 on 18 Dec 2006
This is a cryptographically signed message in MIME format.

--------------ms060102050907050609010003
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

You say it just like that:

  VC++ sucks

Right at the top of your source file. This compiles.

How did I find out? Trying to port code from old Visual C++ to the new, 
improved, standard-compliant Visual C++. It said: "unexpected #endif". What do 
we do? Sure enough, we start dyking out #include directives. And what do we see?

  #ifdef STUPID_FLAG //this is ignored. in fact EVERYTHING is ignored until...
  #include "stdafx.h" //THIS LINE.
  //stupid code...
  #endif

That's nothing compared to the fact that the pile of toxic waste known as MFC 
has been "merged" with the pile of toxic waste known as ATL, forming one large, 
massive, disgusting, steaming heap of shite.

--------------ms060102050907050609010003
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJJzCC
Au4wggJXoAMCAQICEEfC4M2EhSXMi6i7h0fBGFYwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE
BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT
I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA2MTIxMzE2MzgxMFoX
DTA3MTIxMzE2MzgxMFowTDEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEpMCcG
CSqGSIb3DQEJARYaWW9zc2kuS3JlaW5pbkBtb2JpbGV5ZS5jb20wggEiMA0GCSqGSIb3DQEB
AQUAA4IBDwAwggEKAoIBAQC5PSGv432szwUUumIUcBfGEEvDzDM0BUc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