Skip to content
Snippets Groups Projects
Commit 86320268 authored by Gaius Mulley's avatar Gaius Mulley
Browse files

PR modula2/113848 modula2 does not build with clang


Re-write address arithmetic in gm2-libs/SArgs.mod:GetArg
to avoid (void *) computation.  mc treats ADDRESS as (char *)
but does not cast user type (PtrToChar) to (char *) when
performing address arithmetic.

gcc/m2/ChangeLog:

	PR modula2/113848
	* gm2-libs/SArgs.mod (GetArg): Re-write address arithmetic
	to avoid (void *) computation.

Signed-off-by: default avatarGaius Mulley <gaiusmod2@gmail.com>
parent 2523654a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment