Article View: comp.std.c++
Article #3995Draft Std. C++ Preprocessor
From: Mike Duigou
Date: Fri, 12 Apr 1996 07:28
Date: Fri, 12 Apr 1996 07:28
27 lines
1945 bytes
1945 bytes
While reading parts of the April 1995 draft I noticed that the section on
preprocessing seemed to be pretty much the same as the ANSI C
preprocessor. Was there a concious descision to make no changes? What if
any are the differences between the proposed C++ preprocessor and the
existing ANSI preproccor?. One change I was hoping for was the inclusion
of a non-fatal "#warning" directive to match the fatal '#error" directive.
(hey, the compiler can make both errors and warnings, why can't I?). As
you probably know, a number of compilers support the #warning directive.
Additionally, adding some reccomended pragmas such as (I am sure there are
other "standard" (or annoyingly non-standard) pragmas I could think of if
pressed);
#pragma once
#pragma unused funcname varname{,varname...}
would have been nice.
Mike Duigou
FWB Inc.
--
"Me, when I have nothing to say, my lips are sealed." -- Talking Heads
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]
Technical Details
Message-ID:
<mike_duigou-0804961108400001@news.aimnet.com>Path:
arc1-ca.pugleaf.net!in2.uu.net!bounce-backShow Full Headers
Complete Article Headers
From: mike_duigou@fwb.com (Mike Duigou) Message-ID: <mike_duigou-0804961108400001@news.aimnet.com> X-Original-Date: 8 Apr 96 18:08:40 GMT Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back Date: 12 Apr 96 07:28:40 GMT Approved: fjh@cs.mu.oz.au Return-Path: <daemon@meeker.UCAR.EDU> Newsgroups: comp.std.c++ Subject: Draft Std. C++ Preprocessor Keywords: preprocessor Reply-To: mike_duigou@fwb.com Organization: FWB Inc. X-Newsreader: Yet Another NewsWatcher 2.2.0b6 X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUBMW4GL+EDnX0m9pzZAQF+LQF6AstowAlw0+GcWHvCnqbNyOu5YN5Pqv/m PloAXj5H4vJiOvfHl+YV/WHCDRK/Yl9r =XaJx