Changeset 23


Ignore:
Timestamp:
Mar 30, 2005, 5:49:11 PM (21 years ago)
Author:
arnault
Message:

tune warnings - see CL262

Location:
CMT/v1r19
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • CMT/v1r19/ChangeLog

    r22 r23  
     1
     22005-03-30  Christian Arnault  <arnault@lal.in2p3.fr> 262
     3
     4        * source\cmt_version.h (CMTVERSION): Prepare for v1r18p20050401
     5       
     6        * mgr/NMake (demo): Adapt to the new syntax of cmt create_project
     7
     8        * source/cmt_project.cxx (create_project): Suppress several warnings
     9
    1102005-03-30  Christian Arnault  <arnault@lal.in2p3.fr> 261
    211
  • CMT/v1r19/mgr/NMake

    r15 r23  
    4949
    5050demo :: democlean
    51         mkdir ..\demo
    52         cd ..\demo
     51        cd ..
    5352        $(cmtexe) create_project demo
     53        cd demo
    5454        $(cmtexe) create demoA v1
    5555        $(cmtexe) create demoB v1
  • CMT/v1r19/mgr/cmt.nmake

    r20 r23  
    33#  Application cmt
    44#
    5 #   Generated Wed Mar 30 09:42:00 2005  by arnault
     5#   Generated Wed Mar 30 17:40:14 2005  by arnault
    66#
    77#====================================
  • CMT/v1r19/mgr/fragments/check_application_header

    r11 r23  
    66${CONSTITUENT}check ::
    77        @echo "------> starting ${CONSTITUENT}check"
    8         @$(cmtexe) build constituent_makefile ${CONSTITUENT}; $(MAKE) -f ${CONSTITUENT}.make build_strategy=keep_makefiles ${CONSTITUENT}check
     8        @$(cmtexe) -quiet build constituent_makefile ${CONSTITUENT}; $(MAKE) -f ${CONSTITUENT}.make build_strategy=keep_makefiles ${CONSTITUENT}check
    99
    1010#-- end of check_application_header ------
  • CMT/v1r19/mgr/fragments/generator_header

    r11 r23  
    1212${dir}${out}_stamp ::
    1313        @echo ${out}
    14         $(cmtexe) expand model "${model}" > ${dir}${out}_temp
    15         $(cmtexe) check files ${dir}${out}_temp ${dir}${out}
     14        $(cmtexe) -quiet expand model "${model}" > ${dir}${out}_temp
     15        $(cmtexe) -quiet check files ${dir}${out}_temp ${dir}${out}
    1616        @echo ${CONSTITUENT} >${dir}${out}_stamp
    1717
  • CMT/v1r19/mgr/fragments/nmake/check_application_header

    r11 r23  
    55${CONSTITUENT}check ::
    66        @echo "------> starting ${CONSTITUENT}check"
    7         @$(cmtexe) build -nmake constituent_makefile ${CONSTITUENT}
     7        @$(cmtexe) -quiet build -nmake constituent_makefile ${CONSTITUENT}
    88        $(MAKE) /f ${CONSTITUENT}.nmake build_strategy=keep_makefiles ${CONSTITUENT}check
    99
  • CMT/v1r19/mgr/fragments/nmake/generator_header

    r11 r23  
    99${dir}${out}_stamp ::
    1010        @echo ${out}
    11         $(cmtexe) expand model "${model}" > ${dir}${out}_temp
    12         $(cmtexe) check files ${dir}${out}_temp ${dir}${out}
     11        $(cmtexe) -quiet expand model "${model}" > ${dir}${out}_temp
     12        $(cmtexe) -quiet check files ${dir}${out}_temp ${dir}${out}
    1313        @echo ${CONSTITUENT} >${dir}${out}_stamp
    1414
  • CMT/v1r19/mgr/fragments/nmake/lex

    r11 r23  
    55        $(lex_silent) $(lex) ${FILENAME}
    66        sed -e 's/yy/${NAME}YY/g' -e 's/LexYY/YY/g' -e 's/ = {stdin}//' -e 's/ = {stdout}//' lex.yy.c > lex.yy.c.tmp
    7         $(cmtexe) check_files lex.yy.c.tmp ${NAME}.c
     7        $(cmtexe) -quiet check_files lex.yy.c.tmp ${NAME}.c
    88        del lex.yy.c
    99        $(lex_silent) $(ccomp) /Fo"$(bin)${CONSTITUENT}\${NAME}${CONSTITUENTSUFFIX}.obj" $(use_pp_cflags) $(${CONSTITUENT}_pp_cflags) $(app_${CONSTITUENT}_pp_cflags) $(${NAME}_pp_cflags) $(use_cflags) $(${CONSTITUENT}_cflags) $(app_${CONSTITUENT}_cflags) $(${NAME}_cflags) $(${NAME}_${FILESUFFIX}_cflags) ${ADDINCLUDE} $(src)${NAME}.c
  • CMT/v1r19/mgr/fragments/nmake/lex_library

    r11 r23  
    55        $(lex_silent) $(lex) ${FILENAME}
    66        sed -e 's/yy/${NAME}YY/g' -e 's/LexYY/YY/g' -e 's/ = {stdin}//' -e 's/ = {stdout}//' lex.yy.c > lex.yy.c.tmp
    7         $(cmtexe) check_files lex.yy.c.tmp ${NAME}.c
     7        $(cmtexe) -quiet check_files lex.yy.c.tmp ${NAME}.c
    88        del lex.yy.c
    99        $(lex_silent) $(ccomp) /Fo"$(bin)${CONSTITUENT}\${NAME}${CONSTITUENTSUFFIX}.obj" $(use_pp_cflags) $(${CONSTITUENT}_pp_cflags) $(lib_${CONSTITUENT}_pp_cflags) $(${NAME}_pp_cflags) $(use_cflags) $(${CONSTITUENT}_cflags) $(lib_${CONSTITUENT}_cflags) $(${NAME}_cflags) $(${NAME}_${FILESUFFIX}_cflags) ${ADDINCLUDE} $(src)${NAME}.c
  • CMT/v1r19/mgr/fragments/nmake/yacc

    r11 r23  
    55        $(yacc_silent) $(yacc) ${FILENAME}
    66        sed -e 's/yy/${NAME}YY/g' -e 's/ParseYY/YY/g' y.tab.c > y.tab.c.tmp
    7         $(cmtexe) check_files y.tab.c.tmp ${NAME}.c
     7        $(cmtexe) -quiet check_files y.tab.c.tmp ${NAME}.c
    88        sed -e 's/yy/${NAME}YY/g' -e 's/ParseYY/YY/g' y.tab.h > y.tab.h.tmp
    9         $(cmtexe) check_files y.tab.h.tmp ${NAME}.h
     9        $(cmtexe) -quiet check_files y.tab.h.tmp ${NAME}.h
    1010        del y.tab.[ch]
    1111        $(yacc_silent) $(ccomp) /Fo"$(bin)${CONSTITUENT}\${NAME}${CONSTITUENTSUFFIX}.obj" $(use_pp_cflags) $(${CONSTITUENT}_pp_cflags) $(app_${CONSTITUENT}_pp_cflags) $(${NAME}_pp_cflags) $(use_cflags) $(${CONSTITUENT}_cflags) $(app_${CONSTITUENT}_cflags) $(${NAME}_cflags) $(${NAME}_${FILESUFFIX}_cflags) ${ADDINCLUDE} $(src)${NAME}.c
  • CMT/v1r19/mgr/fragments/nmake/yacc_library

    r11 r23  
    55        $(yacc_silent) $(yacc) ${FILENAME}
    66        sed -e 's/yy/${NAME}YY/g' -e 's/ParseYY/YY/g' y.tab.c > y.tab.c.tmp
    7         $(cmtexe) check_files y.tab.c.tmp ${NAME}.c
     7        $(cmtexe) -quiet check_files y.tab.c.tmp ${NAME}.c
    88        sed -e 's/yy/${NAME}YY/g' -e 's/ParseYY/YY/g' y.tab.h > y.tab.h.tmp
    9         $(cmtexe) check_files y.tab.h.tmp ${NAME}.h
     9        $(cmtexe) -quiet check_files y.tab.h.tmp ${NAME}.h
    1010        del y.tab.[ch]
    1111        $(yacc_silent) $(ccomp) /Fo"$(bin)${CONSTITUENT}\${NAME}${CONSTITUENTSUFFIX}.obj" $(use_pp_cflags) $(${CONSTITUENT}_pp_cflags) $(lib_${CONSTITUENT}_pp_cflags) $(${NAME}_pp_cflags) $(use_cflags) $(${CONSTITUENT}_cflags) $(lib_${CONSTITUENT}_cflags) $(${NAME}_cflags) $(${NAME}_${FILESUFFIX}_cflags) ${ADDINCLUDE} $(src)${NAME}.c
  • CMT/v1r19/source/cmt_project.cxx

    r22 r23  
    231231              // For the moment, assume /name/release/ structure where release is one level only
    232232
    233               cerr << "#CMT> Warning: project name unspecified in project file." << endl;
     233              /*
     234              if (!Cmt::get_quiet ())
     235                {
     236                  cerr << "#CMT> Warning: project name unspecified in project file." << endl;
     237                }
     238              */
    234239
    235240              CmtSystem::basename (compressed_path, release);
     
    257262
    258263
    259                   cerr << "#CMT> Warning: specified project name "
    260                        << specified_name
    261                        << " from project file does not match path." << endl;
    262                  
     264                  if (!Cmt::get_quiet ())
     265                    {
     266                      cerr << "#CMT> Warning: specified project name "
     267                           << specified_name
     268                           << " from project file does not match path." << endl;
     269                    }
     270
    263271                  CmtSystem::basename (compressed_path, release);
    264272                  CmtSystem::dirname (compressed_path, name);
     
    291299                      // The specified name is not in the path.
    292300
    293                       cerr << "#CMT> Warning: specified project name "
    294                            << specified_name
    295                            << " from project file does not match path." << endl;
    296                      
     301                      if (!Cmt::get_quiet ())
     302                        {
     303                          cerr << "#CMT> Warning: specified project name "
     304                               << specified_name
     305                               << " from project file does not match path." << endl;
     306                        }
     307
    297308                      CmtSystem::basename (compressed_path, release);
    298309                      CmtSystem::dirname (compressed_path, name);
     
    304315                  // Specifications from the caller and from the project files are inconsistent!!
    305316
    306                   cerr << "#CMT> Warning: specified project name "
    307                        << specified_name
    308                        << " inconsistent with name "
    309                        << name
    310                        << " from project file." << endl;
     317                  if (!Cmt::get_quiet ())
     318                    {
     319                      cerr << "#CMT> Warning: specified project name "
     320                           << specified_name
     321                           << " inconsistent with name "
     322                           << name
     323                           << " from project file." << endl;
     324                    }
    311325
    312326                  cmt_string r;
     
    324338                      // The specified name is not in the path.
    325339
    326                       cerr << "#CMT> Warning: none of specified project names "
    327                            << name
    328                            << " from graph and "
    329                            << specified_name
    330                            << " from project file match path." << endl;
    331                      
     340                      if (!Cmt::get_quiet ())
     341                        {
     342                          cerr << "#CMT> Warning: none of specified project names "
     343                               << name
     344                               << " from graph and "
     345                               << specified_name
     346                               << " from project file match path." << endl;
     347                        }
     348
    332349                      CmtSystem::basename (compressed_path, release);
    333350                      CmtSystem::dirname (compressed_path, name);
     
    355372              // For the moment, assume /name/release/ structure where release is one level only
    356373
    357               cerr << "#CMT> Warning: project name is not specified "
    358                    << " (no project file)." << endl;
     374              /*
     375              if (!Cmt::get_quiet ())
     376                {
     377                  cerr << "#CMT> Warning: project name is not specified "
     378                       << " (no project file)." << endl;
     379                }
     380              */
    359381
    360382              CmtSystem::basename (compressed_path, release);
     
    380402                  // The specified name is not in the path.
    381403
    382                   cerr << "#CMT> Warning: specified project name "
    383                        << specified_name
    384                        << " from project graph does not match path." << endl;
    385                  
     404                  if (!Cmt::get_quiet ())
     405                    {
     406                      cerr << "#CMT> Warning: specified project name "
     407                           << specified_name
     408                           << " from project graph does not match path." << endl;
     409                    }
     410
    386411                  CmtSystem::basename (compressed_path, release);
    387412                  CmtSystem::dirname (compressed_path, name);
  • CMT/v1r19/source/cmt_version.h

    r11 r23  
    88#define __cmt_version_h__
    99
    10 #define CMTVERSION "v1r18p2005"
     10#define CMTVERSION "v1r18p20050401"
    1111
    1212#endif
  • CMT/v1r19/src/NMakefile.header

    r11 r23  
    3131
    3232check_config ::
    33         @$(cmtexe) check configuration
     33        $(cmtexe) check configuration
    3434
    3535configclean ::
Note: See TracChangeset for help on using the changeset viewer.