| Anonymous | Login | Signup for a new account | 2013-05-22 17:51 BST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0000034 | OpenFOAM | [All Projects] Bug | public | 2010-09-10 15:44 | 2010-09-13 17:36 | |||
| Reporter | l_r_mcglashan | |||||||
| Assigned To | henry | |||||||
| Priority | low | Severity | minor | Reproducibility | always | |||
| Status | resolved | Resolution | fixed | |||||
| Platform | Linux | OS | Fedora | OS Version | 13 | |||
| Product Version | 1.7.x | |||||||
| Target Version | Fixed in Version | |||||||
| Summary | 0000034: Request for member ‘write’ is ambiguous for an IOdictionary | |||||||
| Description | The write() member function for an IOdictionary is inherited from both regIOobject and dictionary. Do you consider these to be bugs? Obviously the user can use the full namespace. For example: testDictionary.Foam::regIOobject::write(); testDictionary.Foam::dictionary::write(Info,false); | |||||||
| Steps To Reproduce | IOdictionary testDictionary ( IOobject ( "testDictionary", runTime.time().constant(), runTime, IOobject::MUST_READ, IOobject::NO_WRITE ) ); testDictionary.write(); Compiling the above gives the error: error: request for member ‘write’ is ambiguous candidates are: void Foam::dictionary::write(Foam::Ostream&, bool) const virtual bool Foam::regIOobject::write() const | |||||||
| Tags | Input/output | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0000033) henry (manager) 2010-09-11 12:06 |
Fixed in OpenFOAM-1.7.x: commit 17f1de3bdaf596dcbeeab83e07d7dcfc2bef8693 |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-09-10 15:44 | l_r_mcglashan | New Issue | |
| 2010-09-10 15:50 | andy | Assigned To | => henry |
| 2010-09-10 15:50 | andy | Status | new => assigned |
| 2010-09-11 12:06 | henry | Note Added: 0000033 | |
| 2010-09-11 12:06 | henry | Status | assigned => resolved |
| 2010-09-11 12:06 | henry | Resolution | open => fixed |
| 2010-09-13 17:36 | andy | Tag Attached: Input/output | |