Skip to content

Commit

Permalink
Issue #2281 - Follow-up: Don't include headers in extern "C".
Browse files Browse the repository at this point in the history
In C++17 mode using GCC 13 on Linux this is causing C linkage
to be applied to the throw_gcc.h functions instead of C++.
  • Loading branch information
dbsoft committed Nov 9, 2023
1 parent 007b998 commit bcc531f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions other-licenses/atk-1.0/atk/atkobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
#ifndef __ATK_OBJECT_H__
#define __ATK_OBJECT_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#include <glib-object.h>
#include <atk/atkstate.h>
#include <atk/atkrelationtype.h>

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

/*
* AtkObject represents the minimum information all accessible objects
* return. This information includes accessible name, accessible
Expand Down

0 comments on commit bcc531f

Please sign in to comment.