Skip to content

Commit 2259a00

Browse files
authored
Merge pull request #88 from Sacha0/fixdepwarns
fix depwarns under 0.7 and bump REQUIRE and CI to 0.6
2 parents 3194b28 + 5bdfd2c commit 2259a00

5 files changed

Lines changed: 3 additions & 6 deletions

File tree

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ os:
33
- linux
44
- osx
55
julia:
6-
- 0.5
76
- 0.6
87
- nightly
98
notifications:

appveyor.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
environment:
22
matrix:
3-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
4-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
53
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.6/julia-0.6-latest-win32.exe"
64
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.6/julia-0.6-latest-win64.exe"
75
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"

src/deprecations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Compat.@dep_vectorize_1arg Real ufixed16
3636

3737
## The next lines mimic the floating-point literal syntax "3.2f0"
3838
# construction using a UInt, i.e., 0xccuf8
39-
immutable NormedConstructor{T,f} end
39+
struct NormedConstructor{T,f} end
4040
function *{T,f}(n::Integer, ::NormedConstructor{T,f})
4141
i = 8*sizeof(T)-f
4242
io = IOBuffer()

src/fixed.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# 32-bit fixed point; parameter `f` is the number of fraction bits
2-
immutable Fixed{T <: Signed,f} <: FixedPoint{T, f}
2+
struct Fixed{T <: Signed,f} <: FixedPoint{T, f}
33
i::T
44

55
# constructor for manipulating the representation;

src/normed.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Normed{T,f} maps UInts from 0 to 2^f-1 to the range [0.0, 1.0]
22
# For example, Normed{UInt8,8} == N0f8 maps 0x00 to 0.0 and 0xff to 1.0
33

4-
immutable Normed{T<:Unsigned,f} <: FixedPoint{T,f}
4+
struct Normed{T<:Unsigned,f} <: FixedPoint{T,f}
55
i::T
66

77
(::Type{Normed{T, f}}){T, f}(i::Integer,_) = new{T, f}(i%T) # for setting by raw representation

0 commit comments

Comments
 (0)