CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

PostChannelC compiling issue 15x

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 11, 2008, 08:13
Default Good morning, with the fres
  #1
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
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
podallaire is offline   Reply With Quote

Old   October 11, 2008, 15:31
Default Could you let me know if this
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Could you let me know if this one compiles ok? (I don't see any problem with gcc-4.3.1)

channelIndexTemplates.C
mattijs is offline   Reply With Quote

Old   October 13, 2008, 15:16
Default Hi ! Yes, it worked - thank
  #3
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
Hi !

Yes, it worked - thanks !

PO
podallaire is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
y+ and y* issue Freeman FLUENT 9 December 6, 2017 11:46
pro*am issue john Siemens 1 March 18, 2004 15:51
pro*am issue carno Siemens 3 October 23, 2003 04:32
about USER FORTRAN compiling issue CXL CFX 1 October 9, 2003 21:00
CHT issue carno Siemens 3 September 23, 2003 01:30


All times are GMT -4. The time now is 02:33.