Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Jon Boone
cmucl
Commits
b98fb5e7
Commit
b98fb5e7
authored
14 years ago
by
rtoy
Browse files
Options
Downloads
Patches
Plain Diff
Second return value of compile-file should be true if style-warnings
exist. Issue noted by Douglas Crosher, cmucl-imp, 2011-03-23.
parent
1ff353ac
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler/main.lisp
+7
-3
7 additions, 3 deletions
compiler/main.lisp
with
7 additions
and
3 deletions
compiler/main.lisp
+
7
−
3
View file @
b98fb5e7
...
...
@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/main.lisp,v 1.1
59
201
0
/0
9
/2
4
12:
12:05
rtoy
Rel
$"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/main.lisp,v 1.1
60
201
1
/0
3
/2
8
12:
07:34
rtoy
Exp
$"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -1907,8 +1907,12 @@ in the user USER-INFO slot of STREAM-SOURCE-LOCATIONs.")
;; Hack around filesystem race condition...
(
or
(
probe-file
output-file-pathname
)
output-file-pathname
)
nil
)
(
if
(
member
error-severity
'
(
:warning
:error
))
t
nil
)
;; FIXME in the following we should not return t for a STYLE-WARNING
;; CLHS says the second return value "is false if no
;; conditions of type error or warning were detected by
;; the compiler". This should include style-warnings.
(
not
(
null
error-severity
))
;; FIXME in the following we should not return t for a
;; STYLE-WARNING
(
if
(
member
error-severity
'
(
:warning
:error
))
t
nil
))))
;;;; COMPILE and UNCOMPILE:
...
...
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