Fri Dec 03, 2021 6:56 pm
Login Register Lost Password? Contact Us

C++ "expected unqualified-id before string constant" error

Topics around the use of the VS Code & Eclipse plugins

Fri Sep 30, 2016 2:31 pm Change Time Zone

I'm curious what could be causing workunits with inline C++ to fail.

Here's a very simple script, which completes successfully when submitted through the ECL Playground and the ECL IDE, but fails when submitted from Eclipse:
Code: Select all
   #option pure
   return x + y;


And the ECLCC log:
Code: Select all
--------- end compiler output -----------
g++: error: W20160930-140246_1.o: No such file or directory
BWR_Test:2:3: error: expected unqualified-id before string constant
---------- compiler output --------------

It turns out this was just a symptom of a different bug, and is not related to the Eclipse plugin.

ECL files that contain inline C++ will fail to compile if the path to the ECL file is more than 120 characters.
Posts: 3
Joined: Mon Apr 14, 2014 5:03 pm

Mon Jan 22, 2018 5:48 pm Change Time Zone

Thanks a lot.

I had a very similar problem with 120 characters limit and HPCC 5.4.2
BTW, I "think" this limit is fixed on HPCC 6.4.2
Posts: 33
Joined: Mon Sep 12, 2016 10:27 am

Return to VS Code and Eclipse IDE

Who is online

Users browsing this forum: No registered users and 1 guest