On Wed, 5 Jul 2000, Cassidy Barton wrote:
> technically speaking the only required information (at least in C++ not sure
> about in c) is this:
>
> int my_function();
This is incorrect in both C++ and C. Moreso in C++, actually. In C++,
according to the standards, a null argument list and a void argument list
are the same. E.g.,
int my_function();
int my_function(void);
describe the same function. If your compiler allows this, upgrade. If
this is the latest version available of an actively maintained product,
issue a bug report.
In C, such null-argument lists are deprecated. That is, it is still
possible to use them, but its use is heavily discouraged and support for
it may disappear at a later date.
-dak
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT