René's URL Explorer Experiment


Title: 'Expected expression' error in opencl tests due to undefined TEST_DIR · Issue #1494 · arrayfire/arrayfire · GitHub

Open Graph Title: 'Expected expression' error in opencl tests due to undefined TEST_DIR · Issue #1494 · arrayfire/arrayfire

X Title: 'Expected expression' error in opencl tests due to undefined TEST_DIR · Issue #1494 · arrayfire/arrayfire

Description: When building with BUILD_TEST option ON in Xcode, I get multiple Expected expression errors in lines which use the TEST_DIR macro. Detailed error message for moments_opencl, and similar errors for harris_opencl: CompileC Xcode/test/ARRAY...

Open Graph Description: When building with BUILD_TEST option ON in Xcode, I get multiple Expected expression errors in lines which use the TEST_DIR macro. Detailed error message for moments_opencl, and similar errors for ...

X Description: When building with BUILD_TEST option ON in Xcode, I get multiple Expected expression errors in lines which use the TEST_DIR macro. Detailed error message for moments_opencl, and similar errors for ...

Opengraph URL: https://github.com/arrayfire/arrayfire/issues/1494

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"'Expected expression' error in opencl tests due to undefined TEST_DIR","articleBody":"When building with `BUILD_TEST` option `ON` in Xcode, I get multiple `Expected expression` errors in lines which use the `TEST_DIR` macro. Detailed error message for `moments_opencl`, and similar errors for `harris_opencl`:\n\n```\nCompileC Xcode/test/ARRAYFIRE.build/Release/moments_opencl.build/Objects-normal/x86_64/moments.o test/moments.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler\n    cd /Users/as12312/Software/ArrayFire\n    export LANG=en_US.US-ASCII\n    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCMAKE_INTDIR=\\\"Release\\\" -DWITH_FREEIMAGE -DGLEW_MX -DWITH_GRAPHICS -DOS_MAC -DAF_UNIFIED -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.11 -Wno-sign-conversion -I/Users/as12312/Software/ArrayFire/Xcode/test/Release/include -I/usr/local/include -I/Users/as12312/Software/ArrayFire/Xcode/third_party/forge/include -I/usr/X11R6/include -I/Users/as12312/Software/ArrayFire/include -I/Users/as12312/Software/ArrayFire/src/backend -I/Users/as12312/Software/ArrayFire/src/api/c -I/Users/as12312/Software/ArrayFire/test/../test/gtest/include -I/Users/as12312/Software/ArrayFire/test -I/Users/as12312/Software/ArrayFire/Xcode/test/ARRAYFIRE.build/Release/moments_opencl.build/DerivedSources/x86_64 -I/Users/as12312/Software/ArrayFire/Xcode/test/ARRAYFIRE.build/Release/moments_opencl.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/as12312/Software/ArrayFire/Xcode/test/Release -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks -DNDEBUG -DAF_OPENCL -Wall -fvisibility=hidden -D TEST_DIR=\\\\/Users/as12312/Software/ArrayFire/test/data\\\\ -MMD -MT dependencies -MF /Users/as12312/Software/ArrayFire/Xcode/test/ARRAYFIRE.build/Release/moments_opencl.build/Objects-normal/x86_64/moments.d --serialize-diagnostics /Users/as12312/Software/ArrayFire/Xcode/test/ARRAYFIRE.build/Release/moments_opencl.build/Objects-normal/x86_64/moments.dia -c /Users/as12312/Software/ArrayFire/test/moments.cpp -o /Users/as12312/Software/ArrayFire/Xcode/test/ARRAYFIRE.build/Release/moments_opencl.build/Objects-normal/x86_64/moments.o\n\n/Users/as12312/Software/ArrayFire/test/moments.cpp:145:31: error: expected expression\n    momentsOnImageTest(string(TEST_DIR\"/moments/gray_seq_16_moments.test\"), string(TEST_DIR\"/imageio/gray_seq_16.png\"), false);\n                              ^\nIn file included from \u003cbuilt-in\u003e:337:\n\u003ccommand line\u003e:9:18: note: expanded from here\n#define TEST_DIR \\/Users/as12312/Software/ArrayFire/test/data\\\\\n                 ^\n/Users/as12312/Software/ArrayFire/test/moments.cpp:145:84: error: expected expression\n    momentsOnImageTest(string(TEST_DIR\"/moments/gray_seq_16_moments.test\"), string(TEST_DIR\"/imageio/gray_seq_16.png\"), false);\n                                                                                   ^\nIn file included from \u003cbuilt-in\u003e:337:\n\u003ccommand line\u003e:9:18: note: expanded from here\n#define TEST_DIR \\/Users/as12312/Software/ArrayFire/test/data\\\\\n                 ^\n/Users/as12312/Software/ArrayFire/test/moments.cpp:150:31: error: expected expression\n    momentsTest\u003cfloat\u003e(string(TEST_DIR\"/moments/simple_mat_batch_moments.test\"));\n                              ^\nIn file included from \u003cbuilt-in\u003e:337:\n\u003ccommand line\u003e:9:18: note: expanded from here\n#define TEST_DIR \\/Users/as12312/Software/ArrayFire/test/data\\\\\n                 ^\n/Users/as12312/Software/ArrayFire/test/moments.cpp:155:31: error: expected expression\n    momentsOnImageTest(string(TEST_DIR\"/moments/color_seq_16_moments.test\"), string(TEST_DIR\"/imageio/color_seq_16.png\"), true);\n                              ^\nIn file included from \u003cbuilt-in\u003e:337:\n\u003ccommand line\u003e:9:18: note: expanded from here\n#define TEST_DIR \\/Users/as12312/Software/ArrayFire/test/data\\\\\n                 ^\n/Users/as12312/Software/ArrayFire/test/moments.cpp:155:85: error: expected expression\n    momentsOnImageTest(string(TEST_DIR\"/moments/color_seq_16_moments.test\"), string(TEST_DIR\"/imageio/color_seq_16.png\"), true);\n                                                                                    ^\nIn file included from \u003cbuilt-in\u003e:337:\n\u003ccommand line\u003e:9:18: note: expanded from here\n#define TEST_DIR \\/Users/as12312/Software/ArrayFire/test/data\\\\\n                 ^\n/Users/as12312/Software/ArrayFire/test/moments.cpp:160:35: error: expected expression\n    momentsTest\u003cTypeParam\u003e(string(TEST_DIR\"/moments/simple_mat_moments.test\"));\n                                  ^\nIn file included from \u003cbuilt-in\u003e:337:\n\u003ccommand line\u003e:9:18: note: expanded from here\n#define TEST_DIR \\/Users/as12312/Software/ArrayFire/test/data\\\\\n                 ^\n6 errors generated.\n```\n","author":{"url":"https://github.com/schuhschuh","@type":"Person","name":"schuhschuh"},"datePublished":"2016-07-13T17:37:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/1494/arrayfire/issues/1494"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:41c58edc-ec3d-360e-a45d-d324dafd66bf
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBB00:2EF080:AC5FE:E9448:6969A118
html-safe-nonce8a26eb60298cb94763954b4431e94901827f01fdeddabdcbb5d13310086c8c8a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjAwOjJFRjA4MDpBQzVGRTpFOTQ0ODo2OTY5QTExOCIsInZpc2l0b3JfaWQiOiI1Njc0NjM5MDYyNDQyMDI1MjQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac169ddcb8f7962ff203811cd2db8d25078d723bb710cce7315ed35326e7d8e263
hovercard-subject-tagissue:165378670
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/arrayfire/arrayfire/1494/issue_layout
twitter:imagehttps://opengraph.githubassets.com/87beeca0e876dca6d67968e6993e2be14973792d47f6dffc6e350764ea717dc1/arrayfire/arrayfire/issues/1494
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/87beeca0e876dca6d67968e6993e2be14973792d47f6dffc6e350764ea717dc1/arrayfire/arrayfire/issues/1494
og:image:altWhen building with BUILD_TEST option ON in Xcode, I get multiple Expected expression errors in lines which use the TEST_DIR macro. Detailed error message for moments_opencl, and similar errors for ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameschuhschuh
hostnamegithub.com
expected-hostnamegithub.com
None24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7
turbo-cache-controlno-preview
go-importgithub.com/arrayfire/arrayfire git https://github.com/arrayfire/arrayfire.git
octolytics-dimension-user_id5395442
octolytics-dimension-user_loginarrayfire
octolytics-dimension-repository_id25889802
octolytics-dimension-repository_nwoarrayfire/arrayfire
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id25889802
octolytics-dimension-repository_network_root_nwoarrayfire/arrayfire
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release124667f43168afb6c9c03b7c02eb5b1d2e1be3d9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/arrayfire/arrayfire/issues/1494#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Farrayfire%2Farrayfire%2Fissues%2F1494
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Farrayfire%2Farrayfire%2Fissues%2F1494
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=arrayfire%2Farrayfire
Reloadhttps://github.com/arrayfire/arrayfire/issues/1494
Reloadhttps://github.com/arrayfire/arrayfire/issues/1494
Reloadhttps://github.com/arrayfire/arrayfire/issues/1494
arrayfire https://github.com/arrayfire
arrayfirehttps://github.com/arrayfire/arrayfire
Notifications https://github.com/login?return_to=%2Farrayfire%2Farrayfire
Fork 549 https://github.com/login?return_to=%2Farrayfire%2Farrayfire
Star 4.8k https://github.com/login?return_to=%2Farrayfire%2Farrayfire
Code https://github.com/arrayfire/arrayfire
Issues 285 https://github.com/arrayfire/arrayfire/issues
Pull requests 18 https://github.com/arrayfire/arrayfire/pulls
Actions https://github.com/arrayfire/arrayfire/actions
Projects 0 https://github.com/arrayfire/arrayfire/projects
Wiki https://github.com/arrayfire/arrayfire/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/arrayfire/arrayfire/security
Please reload this pagehttps://github.com/arrayfire/arrayfire/issues/1494
Insights https://github.com/arrayfire/arrayfire/pulse
Code https://github.com/arrayfire/arrayfire
Issues https://github.com/arrayfire/arrayfire/issues
Pull requests https://github.com/arrayfire/arrayfire/pulls
Actions https://github.com/arrayfire/arrayfire/actions
Projects https://github.com/arrayfire/arrayfire/projects
Wiki https://github.com/arrayfire/arrayfire/wiki
Security https://github.com/arrayfire/arrayfire/security
Insights https://github.com/arrayfire/arrayfire/pulse
New issuehttps://github.com/login?return_to=https://github.com/arrayfire/arrayfire/issues/1494
New issuehttps://github.com/login?return_to=https://github.com/arrayfire/arrayfire/issues/1494
'Expected expression' error in opencl tests due to undefined TEST_DIRhttps://github.com/arrayfire/arrayfire/issues/1494#top
https://github.com/schuhschuh
https://github.com/schuhschuh
schuhschuhhttps://github.com/schuhschuh
on Jul 13, 2016https://github.com/arrayfire/arrayfire/issues/1494#issue-165378670
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.