comparison libinterp/dldfcn/__ode15__.cc @ 24444:53ca76c5cc8d

maint: Indent pragmas as other preprocessor directives.
author John W. Eaton <jwe@octave.org>
date Thu, 21 Dec 2017 12:34:51 -0500
parents e8a74d95b4f3
children 194eb4bd202b
comparison
equal deleted inserted replaced
24443:92f0d6013ddd 24444:53ca76c5cc8d
55 55
56 static inline realtype * 56 static inline realtype *
57 nv_data_s (N_Vector& v) 57 nv_data_s (N_Vector& v)
58 { 58 {
59 #if defined (HAVE_PRAGMA_GCC_DIAGNOSTIC) 59 #if defined (HAVE_PRAGMA_GCC_DIAGNOSTIC)
60 // Disable warning from GCC about old-style casts in Sundials macro 60 // Disable warning from GCC about old-style casts in Sundials
61 // expansions. Do this in a function so that this diagnostic may still 61 // macro expansions. Do this in a function so that this
62 // be enabled for the rest of the file. 62 // diagnostic may still be enabled for the rest of the file.
63 #pragma GCC diagnostic push 63 # pragma GCC diagnostic push
64 #pragma GCC diagnostic ignored "-Wold-style-cast" 64 # pragma GCC diagnostic ignored "-Wold-style-cast"
65 #endif 65 #endif
66 66
67 return NV_DATA_S (v); 67 return NV_DATA_S (v);
68 68
69 #if defined (HAVE_PRAGMA_GCC_DIAGNOSTIC) 69 #if defined (HAVE_PRAGMA_GCC_DIAGNOSTIC)
70 // Restore prevailing warning state for remainder of the file. 70 // Restore prevailing warning state for remainder of the file.
71 #pragma GCC diagnostic pop 71 # pragma GCC diagnostic pop
72 #endif 72 #endif
73 } 73 }
74 74
75 namespace octave 75 namespace octave
76 { 76 {