ATLAS Offline Software
Loading...
Searching...
No Matches
FPEAudit_dummy.icc
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ATHENASERVICES_FPEAUDIT_DUMMY_ICC
6#define ATHENASERVICES_FPEAUDIT_DUMMY_ICC 1
7
8// C includes
9#include <signal.h>
10#include <string.h>
11#include <stdio.h>
12#include <stdlib.h> // for abort
13
14// C++ includes
15
16// fwk includes
17#include "GaudiKernel/MsgStream.h"
18
19extern "C" {
20namespace FPEAudit {
21
22int n_fp_exceptions=0;
23
24void
25fpe_sig_action(int, siginfo_t *, void *)
26{
27 ::fprintf(stderr, "FPEAudit::fpe_sig_action not available\n");
28 ::abort();
29}
30
31void
32mask_fpe(void)
33{
34 // no-op
35}
36
37void
38unmask_fpe(void)
39{
40 ::fprintf(stderr, "FPEAudit::unmask_fpe not available\n");
41 ::abort();
42}
43
44void
45resolve(void *, MsgStream& , bool = false)
46{
47 ::fprintf(stderr, "FPEAudit::resolve not available\n");
48 ::abort();
49}
50
51} // FPEAudit
52} // extern "C"
53
54#endif /* !ATHENASERVICES_FPEAUDIT_DUMMY_ICC */