GithubHelp home page GithubHelp logo

Comments (3)

interkosmos avatar interkosmos commented on August 19, 2024

The Makefile has been ported to GNU make. Please have a look again.

from fortran-sdl2.

angelog0 avatar angelog0 commented on August 19, 2024

Thanks for the GNU make porting, but my above observations regarded a few warnings about modules compilation.

Please, re-read this. If you add -Wall also to build the modules you will find:

$ gfortran -Wall -c sdl2.f90
sdl2.f90:1031:44:

         function sdl_get_video_driver_(index) bind(c, name='SDL_GetVideoDriver')
                                            1
Warning: Variable 'index' at (1) is a dummy argument of the BIND(C) procedure 'sdl_get_video_driver_' but may not be C interoperable [-Wc-binding-type]
sdl2.f90:1587:51:

             integer                            :: i
                                                   1
Warning: Unused variable 'i' declared at (1) [-Wunused-variable]
sdl2.f90:1554:51:

             integer                            :: i
                                                   1
Warning: Unused variable 'i' declared at (1) [-Wunused-variable]
sdl2.f90:1519:48:

             integer                         :: i
                                                1
Warning: Unused variable 'i' declared at (1) [-Wunused-variable]
sdl2.f90:1499:48:

             integer                         :: i
                                                1
Warning: Unused variable 'i' declared at (1) [-Wunused-variable]

Here there is a quick fix...

from fortran-sdl2.

interkosmos avatar interkosmos commented on August 19, 2024

Ah, sorry, missed that. Has been committed. Thank you.

from fortran-sdl2.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.