# Trying to bind C's rand but i cant get it to work

**URL:** https://fortran-lang.discourse.group/t/trying-to-bind-cs-rand-but-i-cant-get-it-to-work/3891
**Category:** Help
**Created:** [July 1, 2022, 2:53pm UTC](https://fortran-lang.discourse.group/t/trying-to-bind-cs-rand-but-i-cant-get-it-to-work/3891 "2022-07-01T14:53:50Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![FortranFan](https://avatars.discourse-cdn.com/v4/letter/f/96bed5/32.png) [@FortranFan](https://fortran-lang.discourse.group/u/FortranFan)
#### Post date: [July 2, 2022, 11:52am UTC](https://fortran-lang.discourse.group/t/trying-to-bind-cs-rand-but-i-cant-get-it-to-work/3891/13 "2022-07-02T11:52:36Z")

</div>

> [@ashe](#):
>
> Why does it require bravery and daring to use `-fimplicit-none`? … Do you not trust the compiler to implement it correctly or something?

As things stand right now with everything with Fortran across multiple processors, should a production codebase not explicitly include `impliicit none` statements then it is obviously risky to rely on a compiler-specific option only such as `-fimplicit-none` with gfortran. Given the implicit mapping scheme in the standard with I-N starting letters on object names rendering them default integer types and all else as default real can cause havoc to state the least.

> [@ashe](#):
>
> … That option creates a better dialect of Fortran. …

A standard either means something or it doesn’t. I believe the way to address the nonsense with `implicit none` in Fortran is via the standard itself, not compiler options, nor fpm, neither LFortran, etc.

I do think Fortran 202Y standard revision, which practically can only come into effect at the earliest circa 2035, should consider making `implicit none` the default. One relatively simpler way to do so might be to [**eliminate implicit mapping**](https://fortran-lang.discourse.group/t/eliminate-implicit-mapping/1612) once and for all.

---

_[View the full topic](https://fortran-lang.discourse.group/t/trying-to-bind-cs-rand-but-i-cant-get-it-to-work/3891)._
