Changeset 5616 in project


Ignore:
Timestamp:
08/23/07 01:02:55 (13 years ago)
Author:
felix winkelmann
Message:

added warning when extension is compiled in unsafe mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/batch-driver.scm

    r5373 r5616  
    486486               (compiler-warning 'usage "library unit `~a' compiled in dynamic mode" unit-name) )
    487487
     488             (when (and unsafe (feature? 'compiling-extension))
     489               (compiler-warning
     490                'style
     491                "compiling extensions in unsafe mode is bad practice and should be avoided as it may be surprising to an unsuspecting user") )
     492
    488493             (set! ##sys#line-number-database line-number-database-2)
    489494             (set! line-number-database-2 #f)
Note: See TracChangeset for help on using the changeset viewer.