Peter Ross 1087bee8e5 Fixes to make the compiler compile using MSVC in the LLDS grades.
Estimated hours taken: 2
Branches: main

Fixes to make the compiler compile using MSVC in the LLDS grades.

compiler/llds_out.m:
	MSVC treats declarations such as
		"static const struct s a[];"
	as definitions.  As a definition it doesn't know the size
	of the definition, so aborts.
	Thus if we are using the MSVC compiler we change "static"
	to "extern", via the use of #ifdef _MSC_VER.

runtime/mercury_stack_layout.h:
	The MSVC C pre-processor aborts on comments inside C
	pre-processor #defines, eg
		#define P(X) Q(/* extern */, X)
	It seems to treat strip the comment and then complain
	about the missing argument.
	The comment is no replaced with a pre-processor simple
	which evaluates to the empty string.
2007-05-28 06:32:41 +00:00
2007-05-23 10:09:24 +00:00
2007-05-23 10:09:24 +00:00
2007-05-23 10:09:24 +00:00
2007-02-18 08:01:56 +00:00
2007-02-22 06:52:33 +00:00
2007-01-15 05:40:24 +00:00
2006-12-18 13:00:07 +00:00
2007-04-23 06:12:18 +00:00
2005-10-04 10:34:38 +00:00

Mercury 0.13 may not work on Solaris 10 (SunOS 5.10) due to incompatibilities
with the version of Boehm GC shipped with that version of Mercury.

(The above problem has been fixed in post-0.13 versions of Mercury.)

Also, note that `--linkage static' is not supported on Solaris.  Executables
produced using this option will cause a segmentation fault.
Description
No description provided
Readme MIT 145 MiB
Languages
Mercury 85.4%
C 8.7%
Shell 1.4%
Makefile 1%
JavaScript 1%
Other 2%