Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Obsolete definition of QWINFO?

nvaneck
New Contributor I
1,430 Views

QWINFO is defined in ifqwin.90 as a structure.If you pretend it's a defined type, it works, but you get a complaint about using %. as the separator. The way I now have it coded is shown below, but the record statement gets flagged as not allowed by f2003:

"Fortran 2003 does not allow this statement or directive."

USE IFQWIN

RECORD
/qwinfo/ qwiinteger(4) i

! Set window frame size.

qwi.x = 0

qwi.y = 0

qwi.w = 0

qwi.h = 0

qwi.type = QWIN$SET


Will ifqwin.90 and other includes ever be brought up to the f2003 standard?

0 Kudos
1 Reply
Steven_L_Intel1
Employee
1,432 Views
Someone got a bit too carried away here regarding the warning about use of % and not allowing the use of QWINFO in a TYPE statement. We'll look into that.

Some of the structures cannot be represented as standard derived types, especially those with unions. However, this should not matter,
0 Kudos
Reply