home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / c / 18875 < prev    next >
Encoding:
Internet Message Format  |  1992-12-24  |  1.0 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!convex!constellation!rex!david
  2. From: david@rex.uokhsc.edu (David W. Bourne)
  3. Newsgroups: comp.lang.c
  4. Subject: upper/lower case with VMS C
  5. Message-ID: <Bzs20s.FBM@rex.uokhsc.edu>
  6. Date: 24 Dec 92 18:58:04 GMT
  7. Organization: Health Sciences Center, University of Oklahoma
  8. Lines: 20
  9.  
  10. I am trying to compile a 'c' program I obtained from a colleague under
  11. VAX VMS. With other module I had no real problems but one module
  12. apparently has variables with the 'same' names, that is only case
  13. different.
  14.  
  15. One line reads
  16.  
  17.   double *Ao, *Ak, .... , *ao
  18.  
  19. I then get an error message CONFLICTDECL indicating that the ao is
  20. a redeclaration of the Ao variable.
  21.  
  22. I have tried the compiler switch /NAME=AS_IS without success.
  23.  
  24. Also I tried to use the VAXCRTL_FOR_NAS.OLB library without success.
  25.  
  26. I have been able to compile the module on a UNIX machine without a problem.
  27. It seems to be the VAX VMC 'c' environment that is causing a problem.
  28.  
  29. Any suggestion, Thanks, David Bourne, david-bourne@uokhsc.edu
  30.