summaryrefslogtreecommitdiffstats
path: root/spec/score/if/dequalify-types-not-compatible.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/score/if/dequalify-types-not-compatible.yml')
-rw-r--r--spec/score/if/dequalify-types-not-compatible.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/spec/score/if/dequalify-types-not-compatible.yml b/spec/score/if/dequalify-types-not-compatible.yml
new file mode 100644
index 00000000..7d516a3f
--- /dev/null
+++ b/spec/score/if/dequalify-types-not-compatible.yml
@@ -0,0 +1,34 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+brief: |
+ A not implemented function to trigger compile time errors with an error
+ message.
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+- Copyright (C) 2014 Paval Pisa
+definition:
+ default:
+ body: null
+ params: []
+ return: void *
+ variants:
+ - definition:
+ body: null
+ params: []
+ return: __attribute__((__error__("RTEMS_DEQUALIFY() types differ not only by
+ volatile and const"))) void *
+ enabled-by:
+ - defined(${/compiler/if/gnuc:/name})
+description: null
+enabled-by:
+ not: ASM
+interface-type: function
+links:
+- role: interface-placement
+ uid: /rtems/basedefs/if/header
+name: RTEMS_DEQUALIFY_types_not_compatible
+notes: null
+params: []
+return:
+ return: null
+ return-values: []
+type: interface