Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gesh
GHC
Commits
0b77fb38
Commit
0b77fb38
authored
27 years ago
by
sof
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1997-06-20 09:19:19 by sof]
Added mention of possible cpp macro weirdness
parent
848705ff
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/installing.lit
+16
-0
16 additions, 0 deletions
docs/installing.lit
with
16 additions
and
0 deletions
docs/installing.lit
+
16
−
0
View file @
0b77fb38
...
...
@@ -1720,6 +1720,22 @@ will reach out and bite you. Yes, please complain; meanwhile,
you can do \tr{make -n whatever.dvi} to see the intended commands,
then try to muddle through, doing them by hand.
%------------------------------------------------------------------------
\item
GHC's sources go through \tr{cpp}
before being compiled, and \tr{cpp} varies a bit from one Unix to another.
One particular gotcha is macro calls like this:
\begin{verbatim}
SLIT("Hello, world")
\end{verbatim}
Some \tr{cpp}s treat the comma inside the string as separating two macro arguments,
so you get
\begin{verbatim}
:731: macro `SLIT' used with too many (2) args
\end{verbatim}
Alas, \tr{cpp} doesn't tell you the offending file!
Workaround: don't put wierd things in string args to \tr{cpp} macros.
\end{enumerate}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment