- Timestamp:
- Feb 14, 2010, 11:39:00 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anr/gantt.l
r125 r145 661 661 newlineadded=0; 662 662 if ( sum1==0 && last->nbma[0]!=0) 663 fprintf(stderr,"ERROR: %s:%s probleme sur l'an 1 (in table=%2.1f, in gantt=%2.1f\n",663 fprintf(stderr,"ERROR: %-10s:%s probleme sur l'an 1 (in table=%2.1f, in gantt=%2.1f\n", 664 664 part->name,label,sum1,last->nbma[0]); 665 if (sum1!=0 && sum1>last->nbma[0])666 fprintf(stderr," WARNING: %s:%s probleme sur l'an 1 (in table=%2.1f, in gantt=%2.1f\n",665 else if (sum1!=0 && last->nbma[0]==0 ) 666 fprintf(stderr,"ERROR: %-10s:%s probleme sur l'an 1 (in table=%2.1f, in gantt=%2.1f\n", 667 667 part->name,label,sum1,last->nbma[0]); 668 if (sum2!=0 && sum2>last->nbma[1]) 669 fprintf(stderr,"WARNING: %s:%s probleme sur l'an 2 (in table=%2.1f, in gantt=%2.1f\n", 668 else if (sum1!=0 && sum1>last->nbma[0] ) 669 fprintf(stderr,"WARNING: %-10s:%s probleme sur l'an 1 (in table=%2.1f, in gantt=%2.1f\n", 670 part->name,label,sum1,last->nbma[0]); 671 if ( sum2==0 && last->nbma[1]!=0) 672 fprintf(stderr,"ERROR: %-10s:%s probleme sur l'an 2 (in table=%2.1f, in gantt=%2.1f\n", 670 673 part->name,label,sum2,last->nbma[1]); 671 if ( sum2==0 && last->nbma[1]!=0) 672 fprintf(stderr,"ERROR: %s:%s probleme sur l'an 2 (in table=%2.1f, in gantt=%2.1f\n", 674 else if ( sum2!=0 && last->nbma[1]==0) 675 fprintf(stderr,"ERROR: %-10s:%s probleme sur l'an 2 (in table=%2.1f, in gantt=%2.1f\n", 676 part->name,label,sum2,last->nbma[1]); 677 else if (sum2!=0 && sum2>last->nbma[1]) 678 fprintf(stderr,"WARNING: %-10s:%s probleme sur l'an 2 (in table=%2.1f, in gantt=%2.1f\n", 673 679 part->name,label,sum2,last->nbma[1]); 674 680 if ( sum3==0 && last->nbma[2]!=0) 675 fprintf(stderr,"ERROR: %s:%s probleme sur l'an 3 (in table=%2.1f, in gantt=%2.1f\n",681 fprintf(stderr,"ERROR: %-10s:%s probleme sur l'an 3 (in table=%2.1f, in gantt=%2.1f\n", 676 682 part->name,label,sum3,last->nbma[2]); 677 if (sum3!=0 && sum3>last->nbma[2]) 678 fprintf(stderr,"WARNING: %s:%s probleme sur l'an 3 (in table=%2.1f, in gantt=%2.1f\n", 683 else if ( sum3!=0 && last->nbma[2]==0) 684 fprintf(stderr,"ERROR: %-10s:%s probleme sur l'an 3 (in table=%2.1f, in gantt=%2.1f\n", 685 part->name,label,sum3,last->nbma[2]); 686 else if (sum3!=0 && sum3>last->nbma[2]) 687 fprintf(stderr,"WARNING: %-10s:%s probleme sur l'an 3 (in table=%2.1f, in gantt=%2.1f\n", 679 688 part->name,label,sum3,last->nbma[2]); 680 689 } … … 735 744 char label[1000]; 736 745 gen_label_base(label,last); 737 /* doublons , non ?738 if ( (sum1!=0 && sum1>last->nbma[0] ) || (sum1==0 && last->nbma[0]!=0) )739 fprintf(stderr,"ERROR: %s:%s probleme sur l'an 1 (in table=%2.1f, in gantt=%2.1f\n",740 part->name,label,sum1,last->nbma[0]);741 if ( (sum2!=0 && sum2>last->nbma[1]) || (sum2==0 && last->nbma[1]!=0) )742 fprintf(stderr,"ERROR: %s:%s probleme sur l'an 2 (in table=%2.1f, in gantt=%2.1f\n",743 part->name,label,sum2,last->nbma[1]);744 if ( (sum3!=0 && sum3>last->nbma[2]) || (sum3==0 && last->nbma[2]!=0) )745 fprintf(stderr,"ERROR: %s:%s probleme sur l'an 3 (in table=%2.1f, in gantt=%2.1f\n",746 part->name,label,sum3,last->nbma[2]);747 */748 746 } 749 747 }
Note: See TracChangeset
for help on using the changeset viewer.