- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am just wanting to clear up some warning messages that I am getting.
[bash]sglowlvl.f90(61): warning #6075: The data type of the actual argument does not match the definition. [X1] CALL SETVIEWPORT(graph.x1,graph.y1,graph.x2,graph.y2) ! clip ---------------------------------^ sglowlvl.f90(61): warning #6075: The data type of the actual argument does not match the definition. [Y1] CALL SETVIEWPORT(graph.x1,graph.y1,graph.x2,graph.y2) ! clip ------------------------------------------^ sglowlvl.f90(61): warning #6075: The data type of the actual argument does not match the definition. [X2] CALL SETVIEWPORT(graph.x1,graph.y1,graph.x2,graph.y2) ! clip ---------------------------------------------------^ sglowlvl.f90(61): warning #6075: The data type of the actual argument does not match the definition. [Y2] CALL SETVIEWPORT(graph.x1,graph.y1,graph.x2,graph.y2) ! clip ------------------------------------------------------------^ sglowlvl.f90(66): warning #6075: The data type of the actual argument does not match the definition. [GRAPHBGCOLOR] retVal=SETCOLOR(graph.graphBgColor) --------------------------------^ sglowlvl.f90(67): warning #6075: The data type of the actual argument does not match the definition. [X1] retVal=RECTANGLE($GFILLINTERIOR,graph.x1,graph.y1, & ------------------------------------------------^ sglowlvl.f90(67): warning #6075: The data type of the actual argument does not match the definition. [Y1] retVal=RECTANGLE($GFILLINTERIOR,graph.x1,graph.y1, & ---------------------------------------------------------^ sglowlvl.f90(68): warning #6075: The data type of the actual argument does not match the definition. [X2] graph.x2,graph.y2) ! "background" ----------------------------------------^ sglowlvl.f90(68): warning #6075: The data type of the actual argument does not match the definition. [Y2] graph.x2,graph.y2) ! "background" -------------------------------------------------^ sglowlvl.f90(69): warning #6075: The data type of the actual argument does not match the definition. [GRAPHCOLOR] retVal=SETCOLOR(graph.graphColor) --------------------------------^[/bash]
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
These are all telling you that your arguments are of the wrong data type. For example, in the call to SETVIEWPORT, all of the arguments are supposed to be INTEGER(2). You probably declared those components as INTEGER(4) or just INTEGER, hence the errors.
Look up the documentation of each routine and carefully note the data type (and "kind") of the arguments. Make sure your declarations of the actual arguments match. Failure to do so could give you unexpected results.
Look up the documentation of each routine and carefully note the data type (and "kind") of the arguments. Make sure your declarations of the actual arguments match. Failure to do so could give you unexpected results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting Steve Lionel (Intel)
These are all telling you that your arguments are of the wrong data type. For example, in the call to SETVIEWPORT, all of the arguments are supposed to be INTEGER(2). You probably declared those components as INTEGER(4) or just INTEGER, hence the errors.
Look up the documentation of each routine and carefully note the data type (and "kind") of the arguments. Make sure your declarations of the actual arguments match. Failure to do so could give you unexpected results.
Look up the documentation of each routine and carefully note the data type (and "kind") of the arguments. Make sure your declarations of the actual arguments match. Failure to do so could give you unexpected results.
I got rid of half of the warnings. I have a few left and can't seem to get rid of them. For the ones that I got rid of I changed integer to integer(2).
[bash]sgdraw.f90(111): warning #6075: The data type of the actual argument does not match the definition.retv=RECTANGLE_W($GFILLINTERIOR,x,y,x+width,y+height) ----------------------------------------------^ sgdraw.f90(111): warning #6075: The data type of the actual argument does not match the definition. retv=RECTANGLE_W($GFILLINTERIOR,x,y,x+width,y+height) ------------------------------------------------^ sgdraw.f90(111): warning #6075: The data type of the actual argument does not match the definition. retv=RECTANGLE_W($GFILLINTERIOR,x,y,x+width,y+height) ---------------------------------------------------^ sgdraw.f90(111): warning #6075: The data type of the actual argument does not match the definition. retv=RECTANGLE_W($GFILLINTERIOR,x,y,x+width,y+height) -----------------------------------------------------------^ sgdraw.f90(115): warning #6075: The data type of the actual argument does not match the definition. [BARTYPE] CALL SciSetFillType(barType) ------------------------------^ sgdraw.f90(116): warning #6075: The data type of the actual argument does not match the definition. retv=RECTANGLE_W($GFILLINTERIOR,x,y,x+width,y+height) ------------------------------------------^ sgdraw.f90(116): warning #6075: The data type of the actual argument does not match the definition. retv=RECTANGLE_W($GFILLINTERIOR,x,y,x+width,y+height) --------------------------------------------^ sgdraw.f90(116): warning #6075: The data type of the actual argument does not match the definition. retv=RECTANGLE_W($GFILLINTERIOR,x,y,x+width,y+height) -----------------------------------------------^ sgdraw.f90(116): warning #6075: The data type of the actual argument does not match the definition. retv=RECTANGLE_W($GFILLINTERIOR,x,y,x+width,y+height) -------------------------------------------------------^ sgdraw.f90(117): warning #6075: The data type of the actual argument does not match the definition. retv=RECTANGLE_W($GBORDER,x,y,x+width,y+height) ------------------------------------^ sgdraw.f90(117): warning #6075: The data type of the actual argument does not match the definition. retv=RECTANGLE_W($GBORDER,x,y,x+width,y+height) --------------------------------------^ sgdraw.f90(117): warning #6075: The data type of the actual argument does not match the definition. retv=RECTANGLE_W($GBORDER,x,y,x+width,y+height) -----------------------------------------^ sgdraw.f90(117): warning #6075: The data type of the actual argument does not match the definition. retv=RECTANGLE_W($GBORDER,x,y,x+width,y+height) -------------------------------------------------^ sgdraw.f90(302): warning #6075: The data type of the actual argument does not match the definition. [XB] retv=RECTANGLE_W($GBORDER,xb,yb,xb+xw,yb+yw) ------------------------------------^ sgdraw.f90(302): warning #6075: The data type of the actual argument does not match the definition. [YB] retv=RECTANGLE_W($GBORDER,xb,yb,xb+xw,yb+yw) ---------------------------------------^ sgdraw.f90(302): warning #6075: The data type of the actual argument does not match the definition. retv=RECTANGLE_W($GBORDER,xb,yb,xb+xw,yb+yw) --------------------------------------------^ sgdraw.f90(302): warning #6075: The data type of the actual argument does not match the definition. retv=RECTANGLE_W($GBORDER,xb,yb,xb+xw,yb+yw) --------------------------------------------------^ sgdraw.f90(309): warning #6075: The data type of the actual argument does not match the definition. [LINETYPE] CALL SciLine_w(lineType,DBLE(xp), & [/bash]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have to go through each of these calls and match up the types of the arguments. The messages point you at what needs to be looked at. Most of these are QuickWin routines, which are documented. Some are your own routines. If you ignore them, your program may not work right.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page