MantisBT - Community
View Issue Details
0026181Community[OCCT] OCCT:Modeling Algorithmspublic2015-05-03 17:462015-05-14 15:28
Vico Liang 
abv 
normalminor 
closedfixed 
WindowsVC++ 201364 bit
[OCCT] 6.8.0 
[OCCT] 6.9.0[OCCT] 6.9.0 
0026181: BOPAlgo_MakerVolume compile error if not adding BOPAlgo_PaveFiller.hxx ahead of BOPAlgo_MakerVolume.hxx.
include\BOPAlgo_MakerVolume.lxx(112): error C2027: use of undefined type 'BOPAlgo_PaveFiller'
include\BOPAlgo_PPaveFiller.hxx(9) : see declaration of 'BOPAlgo_PaveFiller'
include\BOPAlgo_MakerVolume.lxx(112): error C2227: left of '->ErrorStatus' must point to class/struct/union/generic type

BOPAlgo_MakerVolume.lxx depends on BOPAlgo_PaveFiller.hxx

inline void BOPAlgo_MakerVolume::CheckData()
{
  if (myArguments.IsEmpty()) {
    myErrorStatus = 100; // no arguments to process
    return;
  }
  // myPaveFiller
  if (!myPaveFiller) {
    myErrorStatus = 101;
    return;
  }
  //
  myErrorStatus = myPaveFiller->ErrorStatus();
  if (myErrorStatus) {
    myErrorStatus = 102; // PaveFiller is failed
    return;
  }
}
N/A
No tags attached.
Issue History
2015-05-03 17:46Vico LiangNew Issue
2015-05-03 17:46Vico LiangAssigned To => msv
2015-05-04 15:12gitNote Added: 0040529
2015-05-04 15:13abvNote Added: 0040530
2015-05-04 15:13abvAssigned Tomsv => Vico Liang
2015-05-04 15:13abvStatusnew => resolved
2015-05-04 15:13abvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=10289#r10289
2015-05-05 10:21msvNote Added: 0040535
2015-05-05 10:22msvAssigned ToVico Liang => abv
2015-05-05 10:22msvStatusresolved => reviewed
2015-05-05 10:40abvNote Added: 0040537
2015-05-05 10:40abvStatusreviewed => verified
2015-05-05 10:40abvResolutionopen => fixed
2015-05-05 10:40abvProduct Version6.9.0 => 6.8.0
2015-05-05 10:40abvFixed in Version => 6.9.0
2015-05-05 10:47abvRelationship addedrelated to 0025477
2015-05-05 11:09gitNote Added: 0040543
2015-05-14 15:28aivStatusverified => closed

Notes
(0040529)
git   
2015-05-04 15:12   
Branch CR26181 has been created by abv.

SHA-1: 0507b2b73dbbc1b4db5095413679bd5b9de0d887


Detailed log of new commits:

Author: abv
Date: Mon May 4 09:18:58 2015 +0300

    0026181: BOPAlgo_MakerVolume compile error if not adding BOPAlgo_PaveFiller.hxx ahead of BOPAlgo_MakerVolume.hxx.
    
    BOPAlgo_PaveFiller.hxx is included in BOPAlgo_MakerVolume.lxx
(0040530)
abv   
2015-05-04 15:13   
I have pushed correction to branch CR26181, could you please confirm it solves the problem?
(0040535)
msv   
2015-05-05 10:21   
There is no error in the current master. The method CheckData that was the reason of possible error has been moved from .lxx to .cxx and made non-inline since the commit SHA-1:b1d15f53b335b880e8195317e825863c1f700c21 dated 28.11.2014.
So, there is no necessity of any change due to this issue.
Dear Vico Liang, please, check that you have up to date version of source code and that your local file inc/BOPAlgo_MakerVolume.lxx is the same as src/BOPAlgo/BOPAlgo_MakerVolume.lxx.
(0040537)
abv   
2015-05-05 10:40   
Thank you Mikhail! I switch the issue to Verified
(0040543)
git   
2015-05-05 11:09   
Branch CR26181 has been deleted by abv.

SHA-1: 0507b2b73dbbc1b4db5095413679bd5b9de0d887