Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Syntax silliness

$
0
0

It is the season for triviality...

MODULE PublicColonsShouldBeBanned
  PUBLIC ::   ! Not permitted by F95 R522 / F2003 R518 / F2008 R524
END MODULE PublicColonsShouldBeBanned

Despite widespread agreement about the sentiment in the module name, the above compiles without error.

[U:\projects\any-excuse-for-procrastination]
>ifort /c /warn:all /stand:f95 "2013-01-02 public-colons.f90"
Intel(R) Visual Fortran Compiler XE for applications running on IA-32, Version 13.0.1.119 Build 20121008
Copyright (C) 1985-2012 Intel Corporation.  All rights reserved.
[U:\projects\any-excuse-for-procrastination]
>

Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>