|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 18 ![]() |
Good morning,
with the fresh git version that I downloaded yesterday (October 10) I have the following issue with posyChannel.C when compiling, issue that I did not have with the previous git versions : channelIndexTemplates.C: In member function 'Foam::Field<type> Foam::channelIndex::collapse(const Foam::Field<type>&, bool) const [with T = double]': collapse.H:4: instantiated from here channelIndexTemplates.C:62: error: ambiguous overload for 'operator/' in 'Foam::channelIndex::regionSum(const Foam::Field<type>&) const [with T = double](((const Foam::Field<double>&)((const Foam::Field<double>*)cellField))) / ((const Foam::channelIndex*)this)->Foam::channelIndex::regionCount_' /Users/podallaire/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude/scalarField.H:8 2: note: candidates are: Foam::tmp<foam::field<double> > Foam::operator/(const Foam::UList<double>&, const Foam::UList<double>&) /Users/podallaire/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude/scalarField.H:8 2: note: Foam::tmp<foam::field<double> > Foam::operator/(const Foam::UList<double>&, const Foam::tmp<foam::field<double> >&) /Users/podallaire/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude/scalarField.H:8 2: note: Foam::tmp<foam::field<double> > Foam::operator/(const Foam::tmp<foam::field<double> >&, const Foam::UList<double>&) /Users/podallaire/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude/scalarField.H:8 2: note: Foam::tmp<foam::field<double> > Foam::operator/(const Foam::tmp<foam::field<double> >&, const Foam::tmp<foam::field<double> >&) /Users/podallaire/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude/FieldFunctions. C:553: note: Foam::tmp<foam::field<type> > Foam::operator/(const Foam::UList<t>&, const Foam::UList<double>&) [with Type = double] /Users/podallaire/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude/FieldFunctions. C:553: note: Foam::tmp<foam::field<type> > Foam::operator/(const Foam::UList<t>&, const Foam::tmp<foam::field<double> >&) [with Type = double] I'm using gcc-4.2. Best regards, PO |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 27 ![]() |
Could you let me know if this one compiles ok? (I don't see any problem with gcc-4.3.1)
|
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 18 ![]() |
Hi !
Yes, it worked - thanks ! PO |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| y+ and y* issue | Freeman | FLUENT | 9 | December 6, 2017 12:46 |
| pro*am issue | john | Siemens | 1 | March 18, 2004 16:51 |
| pro*am issue | carno | Siemens | 3 | October 23, 2003 05:32 |
| about USER FORTRAN compiling issue | CXL | CFX | 1 | October 9, 2003 22:00 |
| CHT issue | carno | Siemens | 3 | September 23, 2003 02:30 |