Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!brl-tgr!tgr!KLOTZ@BBNG.ARPA From: "Leigh L. Klotz"Newsgroups: net.lang.c Subject: unlimited length identifiers, and question about arrays of void fun() Message-ID: <7079@brl-tgr.ARPA> Date: Mon, 7-Jan-85 23:14:51 EST Article-I.D.: brl-tgr.7079 Posted: Mon Jan 7 23:14:51 1985 Date-Received: Wed, 9-Jan-85 03:00:37 EST Sender: news@brl-tgr.ARPA Organization: Ballistic Research Lab Lines: 21 Instead of hacking the compiler to hash names, how about writing a program in C which grovels over the source files and produces an include file containing definitions like #define find_largest_mersenne_prime_unless_its_tuesday G00001 which are included in every file in the make via the -I flag. Presumably someone has already implemented the suggestion somewhere. I realize it doesn't work in the general case for making libraries and such, but it sounds useful enough to me in my work that I'm planning to write such a program. Not wanting to delve into parsing C files, I'd prefer to have one written by someone else. Also, there was some discussion recently about arrays of pointers to functions returning void not working in PCC. We've recently been bitten by this and I was wondering what the upshot of the discussion was. If there's a solution other than just not using void declarations on the functions, I'd like to hear about it. Thanks, Leigh.