Questions tagged [pch]

Precompile Prefix Header

In iOS development with Xcode, PCH stands for Precompile Prefix Header, to make compiling faster and avoid repeating using same header file over and over again.

146 questions
2
votes
1 answer

How to increase clang parsing performance using PCH or PTH?

I'm using Clang C API for parsing and getting diagnostics. I've noticed that i'm using the same bundle of headers all the time, so i've decided to try to use PCH or PTH to increase performance. But i'm getting diagnostics that neither PCH nor PTH…
4ntoine
  • 19,816
  • 21
  • 96
  • 220
2
votes
1 answer

Objective-C Xcode: Prefix.pch question?

I have two files independant on each other. Let's just call it Class1 and Class2. In Class1, I need Class2, and in Class2 I need Class1. I have a prefix file where I include all my files, and I get some syntax errors because I do #import…
Johannes Jensen
  • 1,228
  • 2
  • 18
  • 28
2
votes
3 answers

Retrieve Intel PCH temperature with Powershell

I'm trying to retrieve the intel PCH temperature with powershell. I cannot find any way to retrieve this temperature using wmi. The chipset on my machine is HM77. I've tried reading through the data sheet provided on the intel site, but to no…
MrPear
  • 21
  • 1
  • 2
2
votes
1 answer

Fix overlapping nodes and nodes labels in scatter plot in R

I'm trying to plot some data in R using scatter plot. Here's the code I had for plotting data <- read.table(filename, header=FALSE); colnames(data) <- c("xlabel", "ylabel", "xvalue", "yvalue", "class"); df <- data.frame(data["xlabel"],…
chepukha
  • 2,371
  • 3
  • 28
  • 40
2
votes
2 answers

C++ / CLI Precompiled Headers: How do they work?

I'm trying to write a mixed-mode DLL, let's call it 'Client', to replace some unmanaged classes with their managed equivalents. Everything works fine on my personal machine, but when I check the source code in, our build machine won't build the…
Mark P Neyer
  • 1,009
  • 2
  • 8
  • 19
1
vote
0 answers

R pch symbols as text in word

Is there a way to use R pch symbols as text in ms word? I assume there are keyboard commands to generate these symbols as text, but I cannot find such information.
Jacob
  • 173
  • 8
1
vote
2 answers

Defining a macro in PCH file giving warnings

I have following macro in my PCH file. #ifdef DEBUG #define MYLOG(...) NSLog(__VA_ARGS__) #else #define MYLOG(...) MYSERVERLOG(MYObject.enableLogging, __VA_ARGS__) #endif #define MYSERVERLOG(iLog, ...) iLog ? NSLog(__VA_ARGS__) : TRUE Now,…
Abhinav
  • 37,684
  • 43
  • 191
  • 309
1
vote
1 answer

Changing the points shape in fviz_pca_biplot

I am plotting my PCA as a biplot with fviz_pca_biplot but I cannot change my points to squares (pch=15). For single group of observations I use the code as below basic_bi_plot <- fviz_pca_biplot(res.pca, axes = c(1, 2), …
Paulina
  • 41
  • 3
1
vote
0 answers

C++: cannot open source file "pch.h"

I'm using Visual Studio 2022, and trying to use precompiled headers. In my project settings under all configurations I have: Precompiled Header: Use (/Yu) Precompiled Header File: pch.h Precompiled Header Output Fille:…
1
vote
1 answer

R ggplot2: maintain original colors and group level order when plotting subsets of data on different layers

I have a very simple (albeit large) data frame with 2 numeric columns and 1 character grouping column, containing several NAs. I am going to use iris as an example. Below, I just introduce random NAs in the Species column I want to use for grouping…
DaniCee
  • 2,397
  • 6
  • 36
  • 59
1
vote
0 answers

How can I find out the address space of the BIOS chip?

I want to write to BIOS, I know that it is required to disable write protection and more things that can be founded on the PCH datasheet (intel's case). If I want to write to BIOS, first I have to know the address space of it. I have looked for…
Antonio Sanchez
  • 381
  • 1
  • 3
  • 11
1
vote
3 answers

using .pch files with libclang api's

I am trying to use .pch as illustrated in the following example at http://clang.llvm.org/doxygen/group__CINDEX.html but it doesnot seem to work. char *args[] = { "-Xclang", "-include-pch=IndexTest.pch" }; TU =…
abhanshu
  • 11
  • 3
1
vote
3 answers

How to specify pch by the value of a variable?

I'm making a plot of Y vs X for some discrete points in R. There is a third variable Z that has a value of either A or B, so I want to identify the third variable by pch in the plot. I can do the following. plot(X, Y, pch=c(3,4)[Z]) However, I…
blob
  • 15
  • 5
1
vote
0 answers

Error in Unreal after Xcode Update : PCH file uses an older PCH format that is no longer supported

So I just recently updated Xcode(not too sure if this is causing the problem) to version 10.2. When I compile my code in Unreal Engine 4 version 4.21.2 it gives me this error. "PCH file uses an older PCH format that is no longer supported" Anything…
Vasnot
  • 11
  • 3
1
vote
1 answer

how to define predefined pch values and new pch shape in same R code

I am trying to put different shape using pch. but it's not giving expected output. legend("topleft", legend = c("Upper limit ","Estimated","Lower limit"), col = c("black","black","black"), pch =…
NIrbhay Mathur
  • 153
  • 1
  • 1
  • 10