Sacado Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
RAD_Const_Warn.c
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Sacado Package
4
//
5
// Copyright 2006 NTESS and the Sacado contributors.
6
// SPDX-License-Identifier: LGPL-2.1-or-later
7
// *****************************************************************************
8
// @HEADER
9
10
#include <stdio.h>
11
12
int
RAD_Const_Warn_warned
= 0,
RAD_Const_Warn_warnlim
= 10;
13
14
typedef
struct
15
ADvari_head
{
16
void
*
var
;
/* address of the offending variable */
17
struct
ADvari_head
*
next
;
18
int
gcgen
;
19
int
opno
;
20
/* Double Val; */
21
/* mutable Double aval; */
22
}
ADvari_head
;
23
24
int
25
RAD_Const_Warn
(
void
*v)
26
{
27
ADvari_head
*V = (
ADvari_head
*)v;
28
29
if
(++
RAD_Const_Warn_warned
<=
RAD_Const_Warn_warnlim
)
30
fprintf(stderr,
"RAD_Const_Warn var #%lx had gcgen = %d, opno = %d\n"
,
31
(
unsigned
long
)V->
var
, V->
gcgen
, -1 - V->
opno
);
32
return
1;
33
}
ADvari_head::opno
int opno
Definition:
RAD_Const_Warn.c:19
ADvari_head
struct ADvari_head ADvari_head
ADvari_head
Definition:
RAD_Const_Warn.c:14
ADvari_head::var
void * var
Definition:
RAD_Const_Warn.c:16
RAD_Const_Warn_warnlim
int RAD_Const_Warn_warnlim
Definition:
RAD_Const_Warn.c:12
RAD_Const_Warn
int RAD_Const_Warn(void *v)
Definition:
RAD_Const_Warn.c:25
ADvari_head::next
struct ADvari_head * next
Definition:
RAD_Const_Warn.c:17
RAD_Const_Warn_warned
int RAD_Const_Warn_warned
Definition:
RAD_Const_Warn.c:12
ADvari_head::gcgen
int gcgen
Definition:
RAD_Const_Warn.c:18
Generated on Tue Jul 22 2025 09:23:19 for Sacado Package Browser (Single Doxygen Collection) by
1.8.5