agocorona / RefSerialize

Write to and read from ByteStrings maintaining internal memory references (Haskell)
http://hackage.haskell.org/package/RefSerialize
Other
4 stars 1 forks source link

Support GHC 7.10 #3

Open 3noch opened 9 years ago

3noch commented 9 years ago

When building with GHC 7.10:

Data\RefSerialize.hs:1:12: Warning:
    -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Data\RefSerialize\Serialize.hs:1:14: Warning:
    -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS
[1 of 3] Compiling Data.RefSerialize.Serialize ( Data\RefSerialize\Serialize.hs, dist\dist-sandbox-6a1a818c\build\Data\RefSerialize\Serialize.o )

Data\RefSerialize\Serialize.hs:60:11:
    No instance for (Applicative STW)
      arising from the superclasses of an instance declaration
    In the instance declaration for `Monad STW'
cabal: Error: some packages failed to install:
RefSerialize-0.3.1.3 failed during the building phase. The exception was:
ExitFailure 1
TCache-0.12.0 depends on RefSerialize-0.3.1.3 which failed to install.
Workflow-0.8.1 depends on RefSerialize-0.3.1.3 which failed to install.
extensible-exceptions-0.1.1.4 failed during the building phase. The exception
was:
ExitFailure 1
agocorona commented 9 years ago

Could you clone and compile this last pull? I can't test it now. If it works I will upload a new version to Hackage

3noch commented 9 years ago

Hey, getting closer it seems:

(Should we get this up and running on Travis CI to help find/verify changes in real time?)

Data\RefSerialize.hs:1:12: Warning:
    -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Data\RefSerialize\Serialize.hs:1:14: Warning:
    -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS
[1 of 3] Compiling Data.RefSerialize.Serialize ( Data\RefSerialize\Serialize.hs, dist\dist-sandbox-149f4aec\build\Data\RefSerialize\Serialize.o )
[2 of 3] Compiling Data.RefSerialize.Parser ( Data\RefSerialize\Parser.hs, dist\dist-sandbox-149f4aec\build\Data\RefSerialize\Parser.o )

Data\RefSerialize\Parser.hs:49:11:
    No instance for (Applicative STR)
      arising from the superclasses of an instance declaration
    In the instance declaration for `Monad STR'

Data\RefSerialize\Parser.hs:65:10:
    No instance for (GHC.Base.Alternative STR)
      arising from the superclasses of an instance declaration
    In the instance declaration for `MonadPlus STR'
cabal: Error: some packages failed to install:
RefSerialize-0.3.1.3 failed during the building phase. The exception was:
ExitFailure 1
agocorona commented 9 years ago

I added travis. It seems that it works.

Thanks a lot for your feedback.

I will upload a new version to Hackage

2015-04-06 4:01 GMT+02:00 Elliot Cameron notifications@github.com:

Hey, getting closer it seems:

Data\RefSerialize.hs:1:12: Warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Data\RefSerialize\Serialize.hs:1:14: Warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS [1 of 3] Compiling Data.RefSerialize.Serialize ( Data\RefSerialize\Serialize.hs, dist\dist-sandbox-149f4aec\build\Data\RefSerialize\Serialize.o ) [2 of 3] Compiling Data.RefSerialize.Parser ( Data\RefSerialize\Parser.hs, dist\dist-sandbox-149f4aec\build\Data\RefSerialize\Parser.o )

Data\RefSerialize\Parser.hs:49:11: No instance for (Applicative STR) arising from the superclasses of an instance declaration In the instance declaration for `Monad STR'

Data\RefSerialize\Parser.hs:65:10: No instance for (GHC.Base.Alternative STR) arising from the superclasses of an instance declaration In the instance declaration for `MonadPlus STR' cabal: Error: some packages failed to install: RefSerialize-0.3.1.3 failed during the building phase. The exception was: ExitFailure 1

Should we get this up and running on Travis CI to help find/verify changes in real time?

— Reply to this email directly or view it on GitHub https://github.com/agocorona/RefSerialize/issues/3#issuecomment-89888459 .

Alberto.

agocorona commented 9 years ago

Although travis don´t seems to support GHC 7.10 yet. Can you verify it?

2015-04-06 14:57 GMT+02:00 Alberto G. Corona agocorona@gmail.com:

I added travis. It seems that it works.

Thanks a lot for your feedback.

I will upload a new version to Hackage

2015-04-06 4:01 GMT+02:00 Elliot Cameron notifications@github.com:

Hey, getting closer it seems:

Data\RefSerialize.hs:1:12: Warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

Data\RefSerialize\Serialize.hs:1:14: Warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS [1 of 3] Compiling Data.RefSerialize.Serialize ( Data\RefSerialize\Serialize.hs, dist\dist-sandbox-149f4aec\build\Data\RefSerialize\Serialize.o ) [2 of 3] Compiling Data.RefSerialize.Parser ( Data\RefSerialize\Parser.hs, dist\dist-sandbox-149f4aec\build\Data\RefSerialize\Parser.o )

Data\RefSerialize\Parser.hs:49:11: No instance for (Applicative STR) arising from the superclasses of an instance declaration In the instance declaration for `Monad STR'

Data\RefSerialize\Parser.hs:65:10: No instance for (GHC.Base.Alternative STR) arising from the superclasses of an instance declaration In the instance declaration for `MonadPlus STR' cabal: Error: some packages failed to install: RefSerialize-0.3.1.3 failed during the building phase. The exception was: ExitFailure 1

Should we get this up and running on Travis CI to help find/verify changes in real time?

— Reply to this email directly or view it on GitHub https://github.com/agocorona/RefSerialize/issues/3#issuecomment-89888459 .

Alberto.

Alberto.

agocorona commented 9 years ago

3noch:

I added Travis CI but it don´t seems to suppor ghc 7.10 . I think that this time it works, but I need your confirmation.

3noch commented 9 years ago

It's building successfully now! Great work. I didn't see any unit tests to run to verify anything beyond a successful build.

Thanks for the quick response.

agocorona commented 9 years ago

It has to work since the added code are only instances that are not used

2015-04-06 15:29 GMT+02:00 Elliot Cameron notifications@github.com:

It's building now! Great work. I didn't see any unit tests to run to verify anything beyond a successful build.

Thanks for the quick response.

— Reply to this email directly or view it on GitHub https://github.com/agocorona/RefSerialize/issues/3#issuecomment-90065100 .

Alberto.