Skip to content

Compile error on Intel compiler running in Windows #2346

Closed
@ongjunjie

Description

@ongjunjie

Unable to compile using Intel compiler in Windows. This is caused by a bug in Hedley nemequ/hedley#39. Opening an issue here to track it.

What is the issue you have?

Can't compile. See Hedley issue for details.

Please describe the steps to reproduce the issue.

  1. Build unit tests using combination of Intel compiler and Windows OS

Can you provide a small but working code example?

No.

What is the expected behavior?

Unit tests compiles.

And what is the actual behavior instead?

Build fails.

Which compiler and operating system are you using?

  • Compiler: Intel Compiler 18.0
  • Operating system: Windows 7

Which version of the library did you use?

  • latest release version 3.9.1
  • other release - please state the version: ___
  • the develop branch

If you experience a compilation error: can you compile and run the unit tests?

  • yes
  • no - please copy/paste the error message below
..\single_include\nlohmann\json.hpp(2366): error : expected a type specifier
        JSON_HEDLEY_NON_NULL(3)

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions