crawlserv++
[under development]
Application for crawling and analyzing textual content of websites.
compiler.h
Go to the documentation of this file.
1
/*
2
*
3
* ---
4
*
5
* Copyright (C) 2020 Anselm Schmidt (ans[ät]ohai.su)
6
*
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version in addition to the terms of any
11
* licences already herein identified.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <https://www.gnu.org/licenses/>.
20
*
21
* ---
22
*
23
* compiler.h
24
*
25
* Check whether the current compiler and compiler version are supported.
26
*
27
* Created on: May 15, 2019
28
* Author: ans
29
*/
30
31
#ifndef HELPER_PORTABILITY_COMPILER_H_
32
#define HELPER_PORTABILITY_COMPILER_H_
33
34
// check compiler version
35
#if defined(__clang__)
36
#if __clang_major__ < 5
37
#warning "Compiler version is not supported."
38
#endif
39
#elif defined(__GNUC__) || defined(__GNUG__)
40
#if __GNUC__ < 7
41
#warning "Compiler version is not supported."
42
#endif
43
#elif defined(_MSC_VER)
44
#warning "Compiler is not supported."
45
#endif
46
47
#endif
/* HELPER_PORTABILITY_COMPILER_H_ */
Helper
Portability
compiler.h
Generated on Thu Oct 3 2024 01:52:07 for crawlserv++ by
1.8.13