Questions tagged [acc]

The aCC command invokes the HP aC++ compiling system

The aCC command (the driver) invokes the HP aC++ compiling system. You must use the aCC command to link your HP aC++ programs and libraries. This ensures that all libraries and other files needed by the linker are available.

Compiler Command Syntax and Environment Variables

46 questions
38
votes
7 answers

activate RTTI in c++

Can anybody tell me how to activate RTTI in c++ when working on unix. I heard that it can be disabled and enabled. on my unix environment,how could i check whether RTTI is enabled or disabled? I am using the aCC compiler on HPUX.
Vijay
  • 65,327
  • 90
  • 227
  • 319
13
votes
1 answer

extern "C" error #2040: expected an identifier

I still struggling to compile a C console application, the compiling procedure still failing with the error below: "Main.c", line 51: error #2040: expected an identifier extern "C" void TreatReceivedSignal( int NoSignal ) ; ^ 1 error…
jamel
  • 303
  • 2
  • 7
  • 16
9
votes
1 answer

Why do stdint.h can be found but cstdint not?

I'm be suprised with that include stdint.h works but include cstdint not. $ aCC sizeof.cpp "sizeof.cpp", line 5: error #2005-D: could not open source file "cstdint" #include ^ 1 error detected in the compilation of…
van
  • 213
  • 1
  • 3
  • 10
7
votes
1 answer

Make Python Available to All Users When Already Installed only for One

So I have python installed for my main user account, but I need to use a clean account to make some videos. Is there a way to re-assign my current Python installation along with all installed packages to be available to all users on my Windows 10…
Robin Andrews
  • 3,514
  • 11
  • 43
  • 111
7
votes
4 answers

why the c++ constructor was not called when it appear as the static member variable?

I had a strange problem , declare a static member variable whose name is B class in A class . And initialize in the cpp file. but the constructor of B class was never called. I try to use some small test , the test constructor could be called…
A New Star
  • 85
  • 1
  • 6
3
votes
2 answers

identifier "snprintf" is undefined

I am trying to compile a console C application on HP-UX machine using the aCC compiler [HP C/aC++ B3910B A.06.26].The compilation always failing with the below error : ******"Common/Common.c", line 153: error #2020: identifier "snprintf" is…
jamel
  • 303
  • 2
  • 7
  • 16
2
votes
0 answers

-Bhidden_def, imported but not exported warnings from linker

HP-UX' linker complains, when I use -Bhidden_def, that std:: stuff is not exported but it is imported by (my) shared library, e.g.: /usr/ccs/bin/ld: (Warning) Symbol "std::basic_string,std::allocator>::npos" is not…
wilx
  • 17,697
  • 6
  • 59
  • 114
2
votes
1 answer

Cannot execute SELECT MAX(ORA_ROWSCN) from Embedded SQL

Environment : HP-UX 11.x C++ (ProC & aCC compiler) Oracle 10g ) I am unable to execute the following command from my C++ Embedded SQL code EXEC SQL SELECT MAX(ORA_ROWSCN) INTO :scn_timestamp FROM table_name ; The changes i'm making are to an…
1
vote
1 answer

HTML video player sound cuts out after through skimming video

I'm currently having issues with a dynamically loaded html video player on my site, where I set the source of a HTML video player using JS by clicking on a button. The problem is, once the video is playing it runs fine, but as soon as I skim the…
1
vote
0 answers

how calculate accuracy in given json

I have a JSON file containing multiple key, which each key has a value containing two list the first list is my model prediction the second list is the true value { "PMUL1635.json_0": [ [ "hotel-area-east", "hotel-stars-4", …
1
vote
1 answer

Failed to use the confidential computing VM deployment service in Azure

I created an Azure account which is promised to be able to use all the services in Azure for free for a month. However, I always failed to create a confidential computing VM in the verification phase. The error report I got is: …
tuziYou
  • 33
  • 5
1
vote
3 answers

Unable to create a VM on Azure Confidential Computing (ACC)

I'm trying to create a VM on Azure Confidential Computing service, but I always get the same error during the validation phase: an invalid template deployment error. I've tried with different combinations of configurations, but to no…
1
vote
1 answer

Is F1 score a good measure for balanced dataset

My dataset is approxiately balanced: 52/48. I evaluate both ACC and F1-score. The result returned by Random forest model is below Acc: 52% F1: 68% Confusion matrix: |Predicted Label|0 |1 0 |52|122109 1 |19|134802 I know if I switch…
1
vote
1 answer

Two clicks to generate word document from access form, with double rich text copied using vba

I've been working in exporting a rtf (rich text) form a memo field in access 2010 to a word file with a bookmark. The problem is that It is necessary two clicks to open the word document, and then, the text is inserted twice. I'm still not able to…
1
vote
1 answer

What does __ (two underscores) stand for in Hpux C program

I see the following code in HPUX C program: extern int fcntl __((int, int, ...)); _LF_EXTERN int creat __((const char *, mode_t)); These lines are compiled using aCC. Could somebody let me know the meaning of 2 underscores after fcntl and…
Chandu
  • 1,837
  • 7
  • 30
  • 51
1
2 3 4