Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use gap_all.h instead of src/compiled.h #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/debugger.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*/

extern "C" {
#include "src/compiled.h" /* GAP headers */
#include "src/hookintrprtr.h"
#include "gap_all.h" // GAP headers
#include "hookintrprtr.h"
}

#include "gap_cpp_headers/gap_cpp_mapping.hpp"
Expand Down
5 changes: 2 additions & 3 deletions src/gap_cpp_headers/gap_cpp_mapping.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
#include <utility>
#include <stdlib.h>

// We have to include this to get around problems with the 'extern C' wrapping of src/compiled.h,
// which includes gmp, which in C++ mode has some C++ templates.
#include "include_gap_headers.hpp"
#include "gap_all.h" // GAP headers

#include "gap_prototypes.hpp"
#include "gap_exception.hpp"
#include "gap_function.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/gap_cpp_headers/gap_prototypes.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef PROTOTYPES_HPP_ZLALA
#define PROTOTYPES_HPP_ZLALA

#include "include_gap_headers.hpp"
#include "gap_all.h" // GAP headers

namespace GAPdetail
{
Expand Down
3 changes: 2 additions & 1 deletion src/gap_cpp_headers/gap_wrapping.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#ifndef _GAP_WRAP_HPP_AQD
#define _GAP_WRAP_HPP_AQD

#include "include_gap_headers.hpp"
#include "gap_all.h" // GAP headers

#include "gap_prototypes.hpp"
#include "gap_exception.hpp"

Expand Down
6 changes: 0 additions & 6 deletions src/gap_cpp_headers/include_gap_headers.hpp

This file was deleted.