# Compiling on RHEL 7

**URL:** <https://forums.swift.org/t/compiling-on-rhel-7/751>\
**Category:** Compiler\
**Created:** [December 24, 2015, 12:11am UTC](https://forums.swift.org/t/compiling-on-rhel-7/751 "2015-12-24T00:11:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeremy\_Fergason](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@Jeremy\_Fergason](https://forums.swift.org/u/Jeremy_Fergason)\
**Post date:** [December 24, 2015, 12:11am UTC](https://forums.swift.org/t/compiling-on-rhel-7/751/1 "2015-12-24T00:11:08Z")

</div>

I have successfully built from the git repo on RHEL 7 but one of the tests fail: IDE/print\_clang/header\_swift\_name.swift

Is this expected?

Here’s the relevant output:

FAIL: Swift :: IDE/print\_clang\_header\_swift\_name.swift (633 of 2366)

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* TEST 'Swift :: IDE/print\_clang\_header\_swift\_name.swift' FAILED \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

Script:

> **···**
>
> --
> 
> echo '#include "print\_clang\_header\_swift\_name.h"' \> /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m
> 
> /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/bin/swift-ide-test -target x86\_64-unknown-linux-gnu -module-cache-path '/tmp/swift-testsuite-clang-module-cacheD5HlOp' -completion-cache-path '/tmp/swift-testsuite-completion-cacheHz8Ppv' -source-filename /home/makerpm/swift/test/IDE/print\_clang\_header\_swift\_name.swift -print-header -header-to-print /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h --cc-args /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmparget-cc-options -isysroot '/home/makerpm/swift/test'/Inputs/clang-importer-sdk -fsyntax-only /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m -I /home/makerpm/swift/test/IDE/Inputs | FileCheck /home/makerpm/swift/test/IDE/print\_clang\_header\_swift\_name.swift
> 
> --
> 
> Exit Code: 1
> 
> Command Output (stderr):
> 
> --
> 
> /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:
> 
> #include "print\_clang\_header\_swift\_name.h"
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:1:1: error: expected identifier or '('
> 
> @import Foundation;
> 
> ^
> 
> /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:
> 
> #include "print\_clang\_header\_swift\_name.h"
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:7:9: error: expected identifier or '('
> 
> typedef SWIFT\_ENUM(NSInteger, Normal) {
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:5:45: note: expanded from macro 'SWIFT\_ENUM'
> 
> #define SWIFT\_ENUM(\_type, \_name) enum \_name : \_type \_name; enum SWIFT\_ENUM\_EXTRA \_name : \_type
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:
> 
> #include "print\_clang\_header\_swift\_name.h"
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:7:9: error: expected ';' after top level declarator
> 
> typedef SWIFT\_ENUM(NSInteger, Normal) {
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:5:88: note: expanded from macro 'SWIFT\_ENUM'
> 
> #define SWIFT\_ENUM(\_type, \_name) enum \_name : \_type \_name; enum SWIFT\_ENUM\_EXTRA \_name : \_type
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:
> 
> #include "print\_clang\_header\_swift\_name.h"
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:7:20: warning: type specifier missing, defaults to 'int'
> 
> typedef SWIFT\_ENUM(NSInteger, Normal) {
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:
> 
> #include "print\_clang\_header\_swift\_name.h"
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:7:38: error: expected ';' after top level declarator
> 
> typedef SWIFT\_ENUM(NSInteger, Normal) {
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:
> 
> #include "print\_clang\_header\_swift\_name.h"
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:18:9: error: expected identifier or '('
> 
> typedef SWIFT\_ENUM(NSInteger, ObjCEnum) {
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:15:45: note: expanded from macro 'SWIFT\_ENUM'
> 
> #define SWIFT\_ENUM(\_type, \_name) enum \_name : \_type \_name SWIFT\_COMPILE\_NAME(SWIFT\_ENUM\_NAME); enum SWIFT\_COMPILE\_NAME(SWIFT\_ENUM\_NAME) SWIFT\_ENUM\_EXTRA \_name : \_type
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:
> 
> #include "print\_clang\_header\_swift\_name.h"
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:18:9: error: expected ';' after top level declarator
> 
> typedef SWIFT\_ENUM(NSInteger, ObjCEnum) {
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:15:160: note: expanded from macro 'SWIFT\_ENUM'
> 
> #define SWIFT\_ENUM(\_type, \_name) enum \_name : \_type \_name SWIFT\_COMPILE\_NAME(SWIFT\_ENUM\_NAME); enum SWIFT\_COMPILE\_NAME(SWIFT\_ENUM\_NAME) SWIFT\_ENUM\_EXTRA \_name : \_type
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:
> 
> #include "print\_clang\_header\_swift\_name.h"
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:18:20: warning: type specifier missing, defaults to 'int'
> 
> typedef SWIFT\_ENUM(NSInteger, ObjCEnum) {
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:
> 
> #include "print\_clang\_header\_swift\_name.h"
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:18:40: error: expected ';' after top level declarator
> 
> typedef SWIFT\_ENUM(NSInteger, ObjCEnum) {
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:
> 
> #include "print\_clang\_header\_swift\_name.h"
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:26:9: error: expected identifier or '('
> 
> typedef SWIFT\_ENUM(NSInteger, ObjCEnumTwo) {
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:15:45: note: expanded from macro 'SWIFT\_ENUM'
> 
> #define SWIFT\_ENUM(\_type, \_name) enum \_name : \_type \_name SWIFT\_COMPILE\_NAME(SWIFT\_ENUM\_NAME); enum SWIFT\_COMPILE\_NAME(SWIFT\_ENUM\_NAME) SWIFT\_ENUM\_EXTRA \_name : \_type
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:
> 
> #include "print\_clang\_header\_swift\_name.h"
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:26:9: error: expected ';' after top level declarator
> 
> typedef SWIFT\_ENUM(NSInteger, ObjCEnumTwo) {
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:15:160: note: expanded from macro 'SWIFT\_ENUM'
> 
> #define SWIFT\_ENUM(\_type, \_name) enum \_name : \_type \_name SWIFT\_COMPILE\_NAME(SWIFT\_ENUM\_NAME); enum SWIFT\_COMPILE\_NAME(SWIFT\_ENUM\_NAME) SWIFT\_ENUM\_EXTRA \_name : \_type
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:
> 
> #include "print\_clang\_header\_swift\_name.h"
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:26:20: warning: type specifier missing, defaults to 'int'
> 
> typedef SWIFT\_ENUM(NSInteger, ObjCEnumTwo) {
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:
> 
> #include "print\_clang\_header\_swift\_name.h"
> 
> ```
> ^
> 
> ```
> 
> /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:26:43: error: expected ';' after top level declarator
> 
> typedef SWIFT\_ENUM(NSInteger, ObjCEnumTwo) {
> 
> ```
> ^
> 
> ```
> 
> \<unknown\>:0: error: failed to import bridging header '/home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m'
> 
> /home/makerpm/swift/test/IDE/print\_clang\_header\_swift\_name.swift:6:11: error: expected string not found in input
> 
> // CHECK: enum Normal : Int {
> 
> ```
> ^
> 
> ```
> 
> \<stdin\>:1:1: note: scanning from here
> 
> var NSInteger: Int32
> 
> ^
> 
> \<stdin\>:1:7: note: possible intended match here
> 
> var NSInteger: Int32
> 
> ```
> ^
> 
> ```
> 
> --
> 
> \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
> 
> Testing Time: 63.28s
> 
> \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
> 
> Failing Tests (1):
> 
> ```
> Swift :: IDE/print\_clang\_header\_swift\_name\.swift
> 
> ```
> 
> Expected Passes : 1698
> 
> Expected Failures : 88
> 
> Unsupported Tests : 579
> 
> Unexpected Failures: 1
> 
> \*\*\* Failed while running tests for swift (check-swift-linux-x86\_64)
> 
> Thanks for any feedback in advance!
> 
> Sincerely,
> 
> Jeremy Fergason

---

<div class="post-metadata">

**Author:** ![jrose](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jrose/32/408_2.png) [@jrose](https://forums.swift.org/u/jrose)\
**Post date:** [December 24, 2015, 12:23am UTC](https://forums.swift.org/t/compiling-on-rhel-7/751/2 "2015-12-24T00:23:30Z")

</div>

My bad (and Kevin's bad). The test requires Objective-C, but we forgot to include that as a requirement. If you pull more recent changes the test should be disabled on non-Apple platforms.

Jordan

> **···**
>
> > On Dec 23, 2015, at 16:11, Jeremy Fergason via swift-dev \<swift-dev@swift.org\> wrote:
> > 
> > I have successfully built from the git repo on RHEL 7 but one of the tests fail: IDE/print\_clang/header\_swift\_name.swift
> > 
> > Is this expected?
> > 
> > Here’s the relevant output:
> > 
> > FAIL: Swift :: IDE/print\_clang\_header\_swift\_name.swift (633 of 2366)  
> > \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* TEST 'Swift :: IDE/print\_clang\_header\_swift\_name.swift' FAILED \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> > Script:  
> > --  
> > echo '#include "print\_clang\_header\_swift\_name.h"' \> /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m  
> > /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/bin/swift-ide-test -target x86\_64-unknown-linux-gnu -module-cache-path '/tmp/swift-testsuite-clang-module-cacheD5HlOp' -completion-cache-path '/tmp/swift-testsuite-completion-cacheHz8Ppv' -source-filename /home/makerpm/swift/test/IDE/print\_clang\_header\_swift\_name.swift -print-header -header-to-print /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h --cc-args /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmparget-cc-options -isysroot '/home/makerpm/swift/test'/Inputs/clang-importer-sdk -fsyntax-only /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m -I /home/makerpm/swift/test/IDE/Inputs | FileCheck /home/makerpm/swift/test/IDE/print\_clang\_header\_swift\_name.swift  
> > --  
> > Exit Code: 1
> > 
> > Command Output (stderr):  
> > --  
> > /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:  
> > #include "print\_clang\_header\_swift\_name.h"  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:1:1: error: expected identifier or '('  
> > @import Foundation;  
> > ^  
> > /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:  
> > #include "print\_clang\_header\_swift\_name.h"  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:7:9: error: expected identifier or '('  
> > typedef SWIFT\_ENUM(NSInteger, Normal) {  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:5:45: note: expanded from macro 'SWIFT\_ENUM'  
> > #define SWIFT\_ENUM(\_type, \_name) enum \_name : \_type \_name; enum SWIFT\_ENUM\_EXTRA \_name : \_type  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:  
> > #include "print\_clang\_header\_swift\_name.h"  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:7:9: error: expected ';' after top level declarator  
> > typedef SWIFT\_ENUM(NSInteger, Normal) {  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:5:88: note: expanded from macro 'SWIFT\_ENUM'  
> > #define SWIFT\_ENUM(\_type, \_name) enum \_name : \_type \_name; enum SWIFT\_ENUM\_EXTRA \_name : \_type  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:  
> > #include "print\_clang\_header\_swift\_name.h"  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:7:20: warning: type specifier missing, defaults to 'int'  
> > typedef SWIFT\_ENUM(NSInteger, Normal) {  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:  
> > #include "print\_clang\_header\_swift\_name.h"  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:7:38: error: expected ';' after top level declarator  
> > typedef SWIFT\_ENUM(NSInteger, Normal) {  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:  
> > #include "print\_clang\_header\_swift\_name.h"  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:18:9: error: expected identifier or '('  
> > typedef SWIFT\_ENUM(NSInteger, ObjCEnum) {  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:15:45: note: expanded from macro 'SWIFT\_ENUM'  
> > #define SWIFT\_ENUM(\_type, \_name) enum \_name : \_type \_name SWIFT\_COMPILE\_NAME(SWIFT\_ENUM\_NAME); enum SWIFT\_COMPILE\_NAME(SWIFT\_ENUM\_NAME) SWIFT\_ENUM\_EXTRA \_name : \_type  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:  
> > #include "print\_clang\_header\_swift\_name.h"  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:18:9: error: expected ';' after top level declarator  
> > typedef SWIFT\_ENUM(NSInteger, ObjCEnum) {  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:15:160: note: expanded from macro 'SWIFT\_ENUM'  
> > #define SWIFT\_ENUM(\_type, \_name) enum \_name : \_type \_name SWIFT\_COMPILE\_NAME(SWIFT\_ENUM\_NAME); enum SWIFT\_COMPILE\_NAME(SWIFT\_ENUM\_NAME) SWIFT\_ENUM\_EXTRA \_name : \_type  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:  
> > #include "print\_clang\_header\_swift\_name.h"  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:18:20: warning: type specifier missing, defaults to 'int'  
> > typedef SWIFT\_ENUM(NSInteger, ObjCEnum) {  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:  
> > #include "print\_clang\_header\_swift\_name.h"  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:18:40: error: expected ';' after top level declarator  
> > typedef SWIFT\_ENUM(NSInteger, ObjCEnum) {  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:  
> > #include "print\_clang\_header\_swift\_name.h"  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:26:9: error: expected identifier or '('  
> > typedef SWIFT\_ENUM(NSInteger, ObjCEnumTwo) {  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:15:45: note: expanded from macro 'SWIFT\_ENUM'  
> > #define SWIFT\_ENUM(\_type, \_name) enum \_name : \_type \_name SWIFT\_COMPILE\_NAME(SWIFT\_ENUM\_NAME); enum SWIFT\_COMPILE\_NAME(SWIFT\_ENUM\_NAME) SWIFT\_ENUM\_EXTRA \_name : \_type  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:  
> > #include "print\_clang\_header\_swift\_name.h"  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:26:9: error: expected ';' after top level declarator  
> > typedef SWIFT\_ENUM(NSInteger, ObjCEnumTwo) {  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:15:160: note: expanded from macro 'SWIFT\_ENUM'  
> > #define SWIFT\_ENUM(\_type, \_name) enum \_name : \_type \_name SWIFT\_COMPILE\_NAME(SWIFT\_ENUM\_NAME); enum SWIFT\_COMPILE\_NAME(SWIFT\_ENUM\_NAME) SWIFT\_ENUM\_EXTRA \_name : \_type  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:  
> > #include "print\_clang\_header\_swift\_name.h"  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:26:20: warning: type specifier missing, defaults to 'int'  
> > typedef SWIFT\_ENUM(NSInteger, ObjCEnumTwo) {  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:10: note: in file included from /home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m:1:  
> > #include "print\_clang\_header\_swift\_name.h"  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > /home/makerpm/swift/test/IDE/Inputs/print\_clang\_header\_swift\_name.h:26:43: error: expected ';' after top level declarator  
> > typedef SWIFT\_ENUM(NSInteger, ObjCEnumTwo) {  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > \<unknown\>:0: error: failed to import bridging header '/home/makerpm/build/Ninja-ReleaseAssert/swift-linux-x86\_64/test-linux-x86\_64/IDE/Output/print\_clang\_header\_swift\_name.swift.tmp.m'  
> > /home/makerpm/swift/test/IDE/print\_clang\_header\_swift\_name.swift:6:11: error: expected string not found in input  
> > // CHECK: enum Normal : Int {  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^  
> > \<stdin\>:1:1: note: scanning from here  
> > var NSInteger: Int32  
> > ^  
> > \<stdin\>:1:7: note: possible intended match here  
> > var NSInteger: Int32  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^
> > 
> > --
> > 
> > \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> > Testing Time: 63.28s  
> > \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> > Failing Tests (1):  
> > &nbsp;&nbsp;&nbsp;&nbsp;Swift :: IDE/print\_clang\_header\_swift\_name.swift
> > 
> > &nbsp;&nbsp;Expected Passes : 1698  
> > &nbsp;&nbsp;Expected Failures : 88  
> > &nbsp;&nbsp;Unsupported Tests : 579  
> > &nbsp;&nbsp;Unexpected Failures: 1  
> > \*\*\* Failed while running tests for swift (check-swift-linux-x86\_64)
> > 
> > Thanks for any feedback in advance!
> > 
> > Sincerely,
> > 
> > Jeremy Fergason  
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > swift-dev mailing list  
> > swift-dev@swift.org \<mailto:swift-dev@swift.org\>  
> > [https://lists.swift.org/mailman/listinfo/swift-dev](https://lists.swift.org/mailman/listinfo/swift-dev)
