Hi,
> With gcc-4.8, gfortran has (again) changed the format for its .mod files.
> The result of this is that it is no longer possible to use fortran
> modules in sid,
> in at least 2 packages:
>
> Fatal Error: Cannot read module file 'grib_api.mod' opened at (1),
> because it was created by a dif
Package: gcc
Version: 4:4.7.2-1
The `_Pragma' keyword is handled badly by GCC's preprocessor. Consider
the following program, which is a simplified version of a warning
suppression framework and a test case.
#include
#define PRAGMA(x) _Pragma(#x)
#define WARNING(warn) PRAGMA(GCC diagnostic ig
Package: gcc
Version: 4:4.7.2-1
Consider the following program.
[gibson /tmp/mdw]cat arr.c
int foo(const int *p, unsigned sz)
{
unsigned i;
int v[5];
int x;
for (i = 0; i < sz; i++) v[i] = *p++;
x = v[i - 1];
for (; i < 1; i++) x -= 1;
return (x);
}
[gibson /tmp/mdw]gcc -c -O2
3 matches
Mail list logo