Re: Discussion about why GNU/Linux system upgrades cause old programs to break

Richard Stallman <[email protected]>
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > I've seen some projects do the following for C++:

  >   AC_DEFUN([NMS_CXX_11],
  >   [AC_MSG_CHECKING([whether $CXX is for C++11])
  >   AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
  >   [#if __cplusplus != 201103
  >   #error "C++11 is required"
  >   #endif
  >   ]])],
  >   [AC_MSG_RESULT([yes])],
  >   [CXX_ORIG="$CXX"
  >   CXX="$CXX -std=c++11"
  >   AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
  >   [#if __cplusplus != 201103
  >   #error "C++11 is required"
  >   #endif
  >   ]])],
  >   AC_MSG_RESULT([adding -std=c++11]),
  >   [CXX="$CXX_ORIG"
  >   AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
  >   [#if __cplusplus > 201103
  >   #error "C++11 is required"
  >   #endif
  >   ]])],
  >   AC_MSG_RESULT([> C++11]),
  >   AC_MSG_RESULT([no])
  >   AC_MSG_ERROR([C++11 is required])]))
  >   unset CXX_ORIG])])

That sounds clean in principle, but I think it would break compilation
on the platforms, and the individual machines, that don't have a C11
compiler.  (Maybe running an old system version which doesn't have one
at all.  Maybe that user can't, or doesn't dare, upgrade.)  That would
cause trouble for a lot of users.

It would be wrong for us to do that to Emacs.  It is not a solution.


-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.