Skip to content

Commit

Permalink
Merge branch 'testing' of https://github.com/gbvalor/bufr2synop into …
Browse files Browse the repository at this point in the history
…testing
  • Loading branch information
gbvalor committed Aug 8, 2022
2 parents 2028659 + 2aa77c0 commit 5acc39c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/apps/bufrnoaa_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ char *bufrnoaa_get_version(char *version, char *build, char *builder, int *versi
if (build)
{
c = build;
#ifdef __INTEL_COMPILER
c += sprintf(build, "using INTEL C compiler icc %s ", __INTEL_COMPILER);
#elifdef __GNUC__
#if defined(__INTEL_COMPILER)
c += sprintf(build, "using INTEL C compiler icc %d.%d ", __INTEL_COMPILER, __INTEL_COMPILER_UPDATE);
#elif defined(__GNUC__)
c += sprintf(build, "using GNU C compiler gcc %d.%d.%d ", __GNUC__ , __GNUC_MINOR__ , __GNUC_PATCHLEVEL__);
#endif
sprintf(c,"at %s %s",__DATE__,__TIME__);
Expand Down
2 changes: 1 addition & 1 deletion src/apps/bufrtotac_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void print_version()
bufr2tac_get_version(version, build, builder, NULL, NULL, NULL);
printf ("Linked to bufr2tac library version '%s' built %s and %s.\n", version, build, builder);
bufrdeco_get_version(version, build, builder, NULL, NULL, NULL);
printf ("Linked to decobufr library version '%s' built %s and %s.\n", version, build, builder);
printf ("Linked to bufrdeco library version '%s' built %s and %s.\n", version, build, builder);
}


Expand Down
6 changes: 3 additions & 3 deletions src/bufrdeco/bufrdeco.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ char *bufrdeco_get_version(char *version, char *build, char *builder, int *versi
if (build)
{
c = build;
#ifdef __INTEL_COMPILER
c += sprintf(build, "using INTEL C compiler icc %s ", __INTEL_COMPILER);
#elifdef __GNUC__
#if defined(__INTEL_COMPILER)
c += sprintf(build, "using INTEL C compiler icc %d.%d ", __INTEL_COMPILER, __INTEL_COMPILER_UPDATE);
#elif defined(__GNUC__)
c += sprintf(build, "using GNU C compiler gcc %d.%d.%d ", __GNUC__ , __GNUC_MINOR__ , __GNUC_PATCHLEVEL__);
#endif
sprintf(c,"at %s %s",__DATE__,__TIME__);
Expand Down
6 changes: 3 additions & 3 deletions src/libraries/bufr2tac.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ char *bufr2tac_get_version(char *version, char *build, char *builder, int *versi
if (build)
{
c = build;
#ifdef __INTEL_COMPILER
c += sprintf(build, "using INTEL C compiler icc %s ", __INTEL_COMPILER);
#elifdef __GNUC__
#if defined(__INTEL_COMPILER)
c += sprintf(build, "using INTEL C compiler icc %d.%d ", __INTEL_COMPILER, __INTEL_COMPILER_UPDATE);
#elif defined(__GNUC__)
c += sprintf(build, "using GNU C compiler gcc %d.%d.%d ", __GNUC__ , __GNUC_MINOR__ , __GNUC_PATCHLEVEL__);
#endif
sprintf(c,"at %s %s",__DATE__,__TIME__);
Expand Down

0 comments on commit 5acc39c

Please sign in to comment.