hodgesse1 / rfortran

Automatically exported from code.google.com/p/rfortran
0 stars 0 forks source link

dubious handling of "vartyp" in RFortran_Rget_Rput and incomplete rdcom(CVF) #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
*** What steps will reproduce the problem?

1. Update CVF project for RFortran
2. Attempt to compile RFortran

*** What is the expected output? What do you see instead?

Expected: Compiled RFortran

Actual: Compiler errors

*** What version of RFortran are you using?

Version 2.0.0

*** On which Windows operating system?

*** What Fortran compiler (name and version number) are you using?

CVF 6.6.B

*** What version of R are you using?

*** Please provide any additional information below.

1. The CVF rdcom module is missing some DFWINTY and DFCOM components;

2. The current Rput_Rget code is accessing the same entities from rdcom
using multiple different names. This is dubious at least and is not
accepted by CVF.

Original issue reported on code.google.com by dmitri.k...@gmail.com on 10 Mar 2010 at 1:07

GoogleCodeExporter commented 8 years ago
Dear QA team,

Please be more specific (provide code examples) of where these problems lay 
with 
Rput_Rget.

As stated previously, rdcom (CVF) has yet to be updated for v2.0.0, so this is 
likely 
the reason.

Mark

Original comment by mark.th...@gmail.com on 10 Mar 2010 at 1:28

GoogleCodeExporter commented 8 years ago
The issue was with the variable "vartyp" which, in the various overlorded 
procedures
of RFortran_Rput_Rget, was pointing to various VT_XXX parameters, all of which 
were
already available under their own names. The purpose for this elaborate 
monstrosity
was reasonable, and it shnuck past IVF, but not CVF.

CVF patch attached that appears to resolve CVF issues encountered thus far.

Includes both updates to the CVF project and also the buggy 'vartyp' handling.

May I ask Mark as Developer-In-Chief to check the changes (using IVF, as the
RGet_Rput file has changed) and update both the offical and trunk versions of 
RFortran.

d

Original comment by dmitri.k...@gmail.com on 10 Mar 2010 at 1:35

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by mark.th...@gmail.com on 10 Apr 2010 at 4:02

GoogleCodeExporter commented 8 years ago

Original comment by mark.th...@gmail.com on 16 Apr 2010 at 6:07