Skip to content
  • Jonas Maebe's avatar
    * relaxation of r42272: again only show warnings rather than errors for · c038e4c3
    Jonas Maebe authored
        out-of-range constants, because of the comments mentioned in #35753
        (except for enums, as apparently Delphi does the same)
      * added range check warnings about explicit type casts that throw away
        bits (e.g. byte($fff)), without giving warnings for most common cases
        (like cardinal(-1))
      * fixed masking/sign exting constant array indices (must be based on index
        range type size/signedness rather than on array size/"signedness")
    
    git-svn-id: trunk@42275 -
    c038e4c3