Changeset 555 for CMT/HEAD


Ignore:
Timestamp:
Aug 27, 2010, 5:09:13 PM (14 years ago)
Author:
rybkin
Message:

See C.L. 440

Location:
CMT/HEAD
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r554 r555  
     12010-08-27    <rybkin@lal.in2p3.fr> 440
     2
     3        * source/cmt_parser.cxx: In class Cmt, in functions
     4        do_build_constituent(s)_config, call clear on file stream after closing it,
     5        necessary in case close fails, e.g., file does not exist (the case with
     6        Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86,
     7        but does not seem to be the case with gcc 4.1.2)
     8        * src/NMakefile.header: Check exit code of commands and use error Makefile
     9        preprocessing directive, if appropriate
     10       
    1112010-08-25    <rybkin@lal.in2p3.fr> 439
    212
  • CMT/HEAD/source/cmt_parser.cxx

    r554 r555  
    22122212  s.clear ();
    22132213  s.close ();
     2214  s.clear ();
    22142215  if (gen_setup)
    22152216    {
     
    23482349  s.clear ();
    23492350  s.close ();
     2351  s.clear ();
    23502352  if (gen_setup)
    23512353    {
  • CMT/HEAD/src/NMakefile.header

    r547 r555  
    6969
    7070!IF !EXIST ("$(bin)")
    71 !if [mkdir "$(bin)"] == 0
     71!if [mkdir "$(bin)"] != 0
     72!error (NMakefile.header) Cannot create "$(bin)"
    7273!endif
    7374!ENDIF
     
    7778!if [$(echo) (NMakefile.header) Rebuilding $(cmt_constituents_makefile)] == 0
    7879!endif
    79 !if [$(cmtexe) -tag=$(tags) build constituents_config -out=$(cmt_constituents_makefile)] == 0
     80!if [$(cmtexe) -tag=$(tags) build constituents_config -out=$(cmt_constituents_makefile)] != 0
     81!error (NMakefile.header) Cannot rebuild $(cmt_constituents_makefile)
    8082#!if [$(cmtexe) -tag=$(tags) build constituents_makefile -out=$(cmt_constituents_makefile)] == 0
    8183!endif
Note: See TracChangeset for help on using the changeset viewer.