[ET Trac] [Einstein Toolkit] #875: Cactus should define 'restrict', with a value dependent on autoconf information

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon May 7 10:29:30 CDT 2012


#875: Cactus should define 'restrict', with a value dependent on autoconf
information
--------------------------+-------------------------------------------------
  Reporter:  knarf        |       Owner:                     
      Type:  enhancement  |      Status:  new                
  Priority:  minor        |   Milestone:                     
 Component:  Cactus       |     Version:  development version
Resolution:               |    Keywords:                     
--------------------------+-------------------------------------------------

Comment (by rhaas):

 The only uglyness I can see is that an editors syntax highlighting does
 not work with CCTK_RESTRICT (same as CCTK_INLINE or the CCTK_XXX types).
 FOr this a better solution might be if users change their editors syntax
 highlighting.

 Generally I dislike redifining language keywords (I would expect restrict
 to be a keyword in C99) since it means that one has to know that someone
 changes the language.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/875#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list