Unverified Commit b208e39b authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

remove obsolete c++98 workaround warning

parent 5d6c18db
Loading
Loading
Loading
Loading
+0 −13
Original line number Original line Diff line number Diff line
@@ -444,19 +444,6 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator) :
    if ((universe->me == 0) && !helpflag) {
    if ((universe->me == 0) && !helpflag) {
      if (screen) fprintf(screen,"LAMMPS (%s)\n",universe->version);
      if (screen) fprintf(screen,"LAMMPS (%s)\n",universe->version);
      if (logfile) fprintf(logfile,"LAMMPS (%s)\n",universe->version);
      if (logfile) fprintf(logfile,"LAMMPS (%s)\n",universe->version);
#if defined(LAMMPS_CXX98)
      const char warning[] = "\nWARNING-WARNING-WARNING-WARNING-WARNING\n"
        "This LAMMPS executable was compiled using C++98 compatibility.\n"
        "Please report the compiler info below at https://github.com/lammps/lammps/issues/1659\n";
      const char *infobuf = Info::get_compiler_info();
      if (screen)
         fprintf(screen,"%s%s\nWARNING-WARNING-WARNING-WARNING-WARNING\n\n",
                 warning,infobuf);
      if (logfile)
         fprintf(logfile,"%s%s\nWARNING-WARNING-WARNING-WARNING-WARNING\n\n",
                 warning,infobuf);
      delete[] infobuf;
#endif
    }
    }


  // universe is one or more worlds, as setup by partition switch
  // universe is one or more worlds, as setup by partition switch