Skip to content

Commit 2c70004

Browse files
fingolfinChrisJefferson
authored andcommitted
Use GAP's gap_all.h
Note that it is C++ safe, so remove old workarounds
1 parent 2c890f2 commit 2c70004

File tree

4 files changed

+4
-16
lines changed

4 files changed

+4
-16
lines changed

gap_cpp_headers/gap_cpp_mapping.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
#include <deque>
99
#include <list>
1010

11-
// We have to include this to get around problems with the 'extern C' wrapping of compiled.h,
12-
// which includes gmp, which in C++ mode has some C++ templates.
13-
#include "include_gap_headers.hpp"
11+
#include "gap_all.h"
12+
1413
#include "gap_exception.hpp"
1514
#include "gap_function.hpp"
1615

gap_cpp_headers/gap_function.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define GAP_FUNCTION_HPPQR
33

44
#include <string>
5-
#include "include_gap_headers.hpp"
5+
#include "gap_all.h"
66

77
class GAPFunction
88
{

gap_cpp_headers/include_gap_headers.hpp

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/ferret.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
****************************************************************************/
44

55
#include <stdio.h>
6-
#include "include_gap_headers.hpp"
6+
#include "gap_all.h"
77
#include "c_to_cpp.h"
88
#include "generated_headers/function_objs.h"
99

0 commit comments

Comments
 (0)