File: gcc_15

package info (click to toggle)
sfepy 2025.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,388 kB
  • sloc: python: 75,418; ansic: 13,267; makefile: 131; sh: 30
file content (13 lines) | stat: -rw-r--r-- 377 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
From: Michael R. Crusoe <crusoe@debian.org>
Subject: fix "error: ‘bool’ cannot be defined via ‘typedef`"
--- sfepy.orig/sfepy/mechanics/extmods/contres.h
+++ sfepy/sfepy/mechanics/extmods/contres.h
@@ -8,8 +8,6 @@
 
 #include "common.h"
 
-typedef unsigned int bool;
-
 #if defined (__linux__) || (__unix__) || (__APPLE__)
 
 	void sfd2(double* H, double* dH, double r);