VMS pointer problems continue.

Russell_Green.WBST129 at Xerox.COM Russell_Green.WBST129 at Xerox.COM
Fri Apr 1 01:37:00 AEST 1988


If you change your declaration for b to:
	 char *b = "Arf!";
you should have no further problems.

You apparently wanted a pointer to a character string, you were returning the
whole string, not a pointer to it.  Some compilers are VERY picky!

Good luck,

Russ



More information about the Comp.lang.c mailing list